NeXTreme Posted January 31, 2012 Share Posted January 31, 2012 This isn't so much of a help request, I'd just like to know what causes this error, if anyone knows. 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. Link to comment
Cadu12 Posted January 31, 2012 Share Posted January 31, 2012 Are you using GUI or Custom GUI? If you are using GUI, use destroyElement and create gui it again. (guiSetVisible stays high memory) Link to comment
TAPL Posted January 31, 2012 Share Posted January 31, 2012 if you don't post the script how we can help you? Link to comment
hahec Posted January 31, 2012 Share Posted January 31, 2012 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) Link to comment
mjau Posted January 31, 2012 Share Posted January 31, 2012 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... Link to comment
NeXTreme Posted February 1, 2012 Author Share Posted February 1, 2012 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. 1 Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now