Garry's Mod

Garry's Mod

81 beoordelingen
How to fix Gmod LUA PANIC Not enough memory
Door Garje
Have you not been able to play gmod because of it crashing everytime you finish loading onto a server ? well i found a fix thats really simple and anyone can do at any time aslong as you have access to the computer that gmod is crashing on.
   
Prijs
Toevoegen aan favorieten
Toegevoegd aan favorieten
Verwijderen uit favorieten
Step .1
Firstly go into steam and find Gmod in your library then right click on gmod and click properties.


Step .2
After going into properties click SET LAUNCH OPTIONS...



Step .3
now there should be a box that you can type into on your screen,
to fix the LUA problem you need to type in one of the following corresponding you your ram.







If you have 2GB of ram type in

-heapsize 2097152

If you have 4GB of ram type in

-heapsize 4194304

if you have 8GB of ram type in

-heapsize 8388608

After typing in the command, launch Gmod and load onto a server, if this didn't work and you still crash,
Try typing in the lower amount of ram, for example

if you have 8GB you would type in the one for 4GB

and if you have 4 you would type in for the one with 2GB

but i couldn't find the command for 2 gb of ram, if you do only have 2GB of ram i recommend upgrading to at least 4 or 8, i would say 8 is the perfect amount for gaming. if this doesn't work try to only run gmod on your pc not google chrome or any other apps
121 opmerkingen
big balls 8 mrt om 2:15 
just multiply your gigabytes on 1024^2 or 2^20 and u will get size in megabytes
Azunyan Nyakano 2 feb om 15:11 
just do 8 + 4 + 2 if you have 14gb ram
which is 8388608 + 4194304 + 2097152 I think?
Bunklet 2 feb om 9:53 
What if I have 14gb of ram?
alan8203 25 jun 2023 om 1:37 
for 16GB type -heapsize 16777216
IsMyAmpTooHigh 15 mei 2023 om 23:14 
@vek lft mid spy convert 200gb to kb and put in the resulting number in place of the number
humble under god 11 apr 2023 om 9:08 
i have more than 200gb of memory tf do i do
ULTRA-VIOLENCE! 20 jan 2023 om 12:38 
i have 48g of ram and im still getting this problem
Zero Jyllmeiko 11 okt 2022 om 18:47 
Do I put in the total RAM I have, or the amount of RAM I have available?
CrazySniperCatt0 2 sep 2022 om 11:32 
I did some math and found out that 16 gb should be -heapsize 16777216
[RUS] Overlord 22 apr 2022 om 8:33 
16 GB а ещё эта фигня не помогает