Jump to content

ERROR: not enough memory


NeXTreme

Recommended Posts

Posted

This isn't so much of a help request, I'd just like to know what causes this error, if anyone knows.

notmem10.png

Happens whenever I click a GUI button in my script (and no, there aren't any intesive operations in the function it triggers, just an outputChatBox), also when I restart the resource my screen freezes for a second or two, and If I stay alt-tabbed out of MTA for a few minutes, my GTA just throws a runtime error and crashes.

Cheers.

Posted

Are you using GUI or Custom GUI? If you are using GUI, use destroyElement and create gui it again. (guiSetVisible stays high memory)

Posted
if you don't post the script how we can help you?

I really don't think that's a scripting problem, i think it's somekind of bug or anything that cause to much memory load and that's why it happens (i'm not sure, just saying...you stil can be right)

Posted

Well im kinda nab at this but when i built my computer i put 8 gb of ram in it to be able to run server with a bit of high memory load, anyway buy more ram or improve your codes...

Posted

Ah well I've solved the problem. It was a function that kept calling itself (which usually results in an error somewhat similar to to "too long execution, aborting script", I forgot how exactly it goes.). I guess that error message got me confused and I didn't really check the code well enough.

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...