Garry's Mod on Linux uses way more ram and causes lua panics.

Hey, I’m having an issue that causes Garry’s Mod to use way more ram in linux and then lua panic on some servers after it reaches ~2.2 gigs or so. I only have 67 addons and it works fine on windows. I have an I7 6700k, 16GB of ram (i know, gmod will not use that much) and a gtx 970. I am using fedora 27 with the KDE desktop and proprietary nvidia drivers. Any help is greatly appreciated because I am banging my head on the desk with this one.