Garry's Mod

Garry's Mod

View Stats:
Kartoshka Jul 30, 2017 @ 8:20pm
Recent update causing massive memory use?
So basically, my game has been working fine until just recently, and im very sure at this point it's because of one of the recent updates.

The problem is, whenever I try to join a game or start one offline with more than just a few mods, I somehow run out of memory while loading.
This is particularly stragne because I've read that as a 32 bit program, gmod should not be able to utilize more than 4gb or RAM, and by default (without changing a launch option) it can only utilize two.
Now what very strange about this is the fact that my computer has 8gb of RAM, meaning obviously, that gmod can't utilize more than half. I specifically make sure to end all high load processes, and can usually get the RAM usage down to about 25-30%. Now you're like seeing whats wrong. Im launching a game that shouldn't be able to use more than half my RAM, with around 30% being used at launch, and somehow during the loading process, the usage goes up into 90%, and windows forces me to close the program.
It's also strage that when viewing memory usage in the task manager, it goes up gradually and generally sits at around 65%, and after a couple of minutes, it will start rapidly rising until it hits this point and is forced to shutdown.
This is also strange because gmod should never even have to use more than 2gb of RAM, yet when I havn't entered the launch option to allocate 4, its gmod itself that runs out of memory.
To be specific about usage, in the task manager, the actual process is never listed as using more than 1,200 mb (or at least the maximum is only ever slightly above that), so how I am running out of memory when that is the case, I don't know.
Also i've tried with anywhere from around 300 to 400 addons (i know its a lot)
The actual amount isnt the problem, as I knowIi can play with just a few, and my pc could handle this many addons just fine before, hence me suspecting it was a recent update.

Specs:
Acer Aspire V5-552G
AMD A8-5557 3.1 GHz
AMD Radeon HD 8750M
8GB DDR3
Windows 8.1 64-bit

List of things I have tried:
Reinstalling all the addons
Deleting addons folder in Garry's Mod\garrysmod\ (clean wipe)
Deleting all relevent folders in Garry's Mod\garrysmod\ (addons, cache, models etc.)
Reinstalling the game
Disabling/enabling all addons within gmod
Allocating up to 4gb or RAM as apposed to 2gb

Posting here is essentially the last thin I can think of.

TL;DR Gmod is using way more memory than it should be just recently.
Last edited by Kartoshka; Jul 30, 2017 @ 10:27pm
< >
Showing 1-8 of 8 comments
Microsoft227sam Jul 30, 2017 @ 8:24pm 
Disable all of your addons and see if that changes anything
Kartoshka Jul 30, 2017 @ 9:57pm 
Originally posted by microsoft227sam:
Disable all of your addons and see if that changes anything
As I said the game works fine with even a couple addons enabled. It's only when theres quite a few (300-400) that theres a problem. It seems like a lot but as I also said, they where never a problem before.
Last edited by Kartoshka; Jul 30, 2017 @ 9:57pm
Microsoft227sam Jul 30, 2017 @ 10:02pm 
Hmm, try -heapsize ***000 into the launch options with *** being half of your total ram at MOST, it will allocate more ram to it. I.E, bob puts in "-heapsize 4096000" , as 4gb should be enough.
Last edited by Microsoft227sam; Jul 30, 2017 @ 10:02pm
Kartoshka Jul 30, 2017 @ 10:26pm 
Originally posted by microsoft227sam:
Hmm, try -heapsize ***000 into the launch options with *** being half of your total ram at MOST, it will allocate more ram to it. I.E, bob puts in "-heapsize 4096000" , as 4gb should be enough.
I have done this as well
guess i should put that in the list
Last edited by Kartoshka; Jul 30, 2017 @ 10:26pm
Microsoft227sam Jul 30, 2017 @ 10:48pm 
well.... ♥♥♥♥, got nothing. if you want more professional help, go to the offical facepunch forums.

Hope they help fix your issue.
Last edited by Microsoft227sam; Jul 30, 2017 @ 10:49pm
Kartoshka Jul 31, 2017 @ 1:57pm 
Originally posted by microsoft227sam:
well.... ♥♥♥♥, got nothing. if you want more professional help, go to the offical facepunch forums.

Hope they help fix your issue.
Alright thanks, I'll see what they can do.
Panucci Feb 27 @ 9:46am 
Delete all pregenerated icons of models
Kartoshka Mar 14 @ 11:06am 
Man I don't even play this anymore lol that was from 2017. Not even on the same computer.
Last edited by Kartoshka; Mar 14 @ 11:07am
< >
Showing 1-8 of 8 comments
Per page: 1530 50

Date Posted: Jul 30, 2017 @ 8:20pm
Posts: 8