Garry's Mod

Garry's Mod

View Stats:
Dylotron Apr 11, 2014 @ 4:10am
How do you give Garry's Mod more RAM?
I often play Garry's Mod with my friend, but I constantly crash because the game runs out of RAM space. I don't know what to do, Can someone help?

My computer is a mid-2015 15-inch MacBook Pro with an i7 Quad Core at 3.2GHz, an Intel Iris Pro 6200 GPU & 16GB RAM.

I have tried the -Heapsize launch command, but it still runs into the issue.

Update from 2021:
Big thanks to everyone who's helped over the years, this problem hasn't peaked its head in a long time luckily! Probably also helped that I moved to a different system, but the RAM spec is almost identical (16GB DDR3, the PC is second-hand so nothing top-of-the-line)
Last edited by Dylotron; Jul 5, 2021 @ 10:09am
< >
Showing 1-15 of 39 comments
Torch Apr 11, 2014 @ 4:54am 
buy a new ram card, and put into your computer
dex Apr 11, 2014 @ 6:03am 
1. Get the ♥♥♥♥ off that overpriced hipster "computer".
2. Look up how to build your own PC.
3. Find out it's actually less than half priced of any shapple computer products.
4. Dual boot Windows 7 and a user friendly distro of Linux so your dumbass hipster brain can understand something slightly.
GeoCharger Apr 11, 2014 @ 6:40pm 
Please dont try to download more ram!
JG Nov 15, 2014 @ 9:38am 
Originally posted by craze:
1. Get the ♥♥♥♥ off that overpriced hipster "computer".
2. Look up how to build your own PC.
3. Find out it's actually less than half priced of any shapple computer products.
4. Dual boot Windows 7 and a user friendly distro of Linux so your dumbass hipster brain can understand something slightly.

calm the ♥♥♥♥ down.
Dylotron Jul 7, 2015 @ 2:44am 
Originally posted by The Fanner:
buy a new ram card, and put into your computer
I have already done that and i have 16gb ram
Kolopo★ Jul 11, 2015 @ 7:29pm 
don't listen to these guys, gmod crashes after using more than 2gb to my knowledge, as it can only use 2 (or something). If i find something I'll bump this old post with a solution, which might be very technical if there is one at all. :happy_creep:
Kolopo★ Jul 12, 2015 @ 12:28am 
Alright so so this is what I came up with: I Haven't tested this because gmod hasn't used more than 2gb of ram since i found it, as I only have issues after a while of playing. Anyway as seen on http://www.gamefaqs.com/boards/914642-half-life-2/26140750 , if you put -heapsize ***000 into the launch options with *** being half of your total ram at MOST, it will allocate more ram to it SUPPOSEDLY. For instance I put in "-heapsize 4096000" , as 4gb should be enough and I have 16gb total. Also in my launch options is -64bit, although I also don't know if that helps at all. A friend told me once to put -64bit in there, no clue if it actually does anything for gmod.

Just to reiterate, I have no clue if anything I wrote actually works in practice, and for me only time will tell.


-quick edit: I should also mention I am trying to fix an overflow crash, I believe it looked something like this http://oi50.tinypic.com/e68tva.jpg (not my image, just one i found on the internet)

-According to https://developer.valvesoftware.com/wiki/Command_Line_Options "-heapsize <kilobytes> - Specifies the heapsize (in kilobyte) the game will use. This no longer exists on the Source 2009." Still unsure if it will work or not, as gmod is its own beast but looks unlikely. Worth a try though right.
Last edited by Kolopo★; Jul 12, 2015 @ 3:11pm
Hunt0sOne0ss Jul 15, 2015 @ 12:00am 
Originally posted by craze:
1. Get the ♥♥♥♥ off that overpriced hipster "computer".
2. Look up how to build your own PC.
3. Find out it's actually less than half priced of any shapple computer products.
4. Dual boot Windows 7 and a user friendly distro of Linux so your dumbass hipster brain can understand something slightly.
♥♥♥♥ mac
Dylotron Jul 18, 2015 @ 8:42am 
Originally posted by %s:
Why the ♥♥♥♥ are you guys bumping a year old thread?
Because i am still having said problem.
OSX_IRIS Jul 18, 2015 @ 1:40pm 
something i've found that is not a permanent fix, but it will help, try deleting any kind of add-on that you don't use. the problem is garry's mod for mac runs on a virtual machine so it ends up using more ram then it should, also i've found that it crashes a LOT less on either single player or if you host. also if it gives you a crash notification then click "show details" and try to figure out the problem from there. hope this was of help to you.
Nematoid Jul 18, 2015 @ 8:48pm 
easy. add some goat!
Harry Jul 18, 2015 @ 9:23pm 
You can't add more than 4GB of ram to gmod cause it's a 32 bit game.
Dylotron Jul 19, 2015 @ 1:13am 
Originally posted by Starlight:
something i've found that is not a permanent fix, but it will help, try deleting any kind of add-on that you don't use. the problem is garry's mod for mac runs on a virtual machine so it ends up using more ram then it should, also i've found that it crashes a LOT less on either single player or if you host. also if it gives you a crash notification then click "show details" and try to figure out the problem from there. hope this was of help to you.
I have done that a lot of times and the only thing that ever popped up was awesomium files.
Last edited by Dylotron; Jul 19, 2015 @ 1:14am
Dylotron Jul 19, 2015 @ 1:15am 
Originally posted by Kolopo★:
Alright so so this is what I came up with: I Haven't tested this because gmod hasn't used more than 2gb of ram since i found it, as I only have issues after a while of playing. Anyway as seen on http://www.gamefaqs.com/boards/914642-half-life-2/26140750 , if you put -heapsize ***000 into the launch options with *** being half of your total ram at MOST, it will allocate more ram to it SUPPOSEDLY. For instance I put in "-heapsize 4096000" , as 4gb should be enough and I have 16gb total. Also in my launch options is -64bit, although I also don't know if that helps at all. A friend told me once to put -64bit in there, no clue if it actually does anything for gmod.

Just to reiterate, I have no clue if anything I wrote actually works in practice, and for me only time will tell.


-quick edit: I should also mention I am trying to fix an overflow crash, I believe it looked something like this http://oi50.tinypic.com/e68tva.jpg (not my image, just one i found on the internet)

-According to https://developer.valvesoftware.com/wiki/Command_Line_Options "-heapsize <kilobytes> - Specifies the heapsize (in kilobyte) the game will use. This no longer exists on the Source 2009." Still unsure if it will work or not, as gmod is its own beast but looks unlikely. Worth a try though right.
I looked up the forum and i have done what it says, it seems yo have made a difference. Thank you
< >
Showing 1-15 of 39 comments
Per page: 1530 50

Date Posted: Apr 11, 2014 @ 4:10am
Posts: 39