Garry's Mod

Garry's Mod

View Stats:
This topic has been locked
Urgent!! How do you fix the error "Lua Panic Out of memory"
Anytime i do anything on gmod becuase this error
< >
Showing 1-3 of 3 comments
꧁Jay꧂ Oct 20, 2017 @ 1:07pm 
How much ram does your system have?

Leave Task Manager opened when you play GMod and when the game crashes because of this error, look at your memory usage graphs. If it was >95% then it dips once the game closes, then you need more ram.
xXSuperKoolGuyXx Oct 20, 2017 @ 9:47pm 
I have a 16GB of ram with a AMD Radeon R9 360 Video card it should run
꧁Jay꧂ Oct 20, 2017 @ 9:54pm 
I've found out the most probable cause of this specific error is because TF2 is mounted, go to your home screen in Garry's Mod and click "Games" at the bottom right, it'll be a little white controller, then uncheck TF2, then restart your game.

If that doesn't work, try the solutions listed below.


========OLD========
Try adding this to your startup parameters and tell me if this persists.

-dxlevel 95

Disable your addons and see if this problem persists.

Edit: See how much RAM Garry's Mod itself is using right before the crash. If you have a second monitor, keep Task Manager opened with the process of hl2.exe opened so you can see the memory consumption.

Edit 2: Also include -heapsize 4000000 in the startup


Edit 3: It's more than likely a memory leak that happens with some faulty addons, try disabling/removing all of them and add back what you need. A single faulty addon can cause this.

Many edits later: Also try turning down your graphical options, that's been known to solve it for people.


Garry'sMod is a 32-bit program, so you only get a few GB of max ram you can use, keep this in mind.
Last edited by ꧁Jay꧂; Oct 21, 2017 @ 6:21am
< >
Showing 1-3 of 3 comments
Per page: 1530 50

Date Posted: Oct 20, 2017 @ 1:02pm
Posts: 3