View Full Version : Out of Memory with SRL
Awkwardsaw
04-25-2009, 09:55 PM
it has nothing to do with scripting, so i figured it would go in here =p
so, when every i try to run a script with SRL in it, i always get an "out of memory" message box error. this only happens when i run it with srl, and not a basic scar command
iv been playing aorund with it for a few days, and it stumped me ;)
Awkwardsaw
04-25-2009, 11:57 PM
i restarted it lastnight when i downloaded Visual Basics
Kyle Undefined
04-29-2009, 11:53 AM
What scripts are you running? How long does the script run until you get that error?
~Camo
Da 0wner
04-29-2009, 12:26 PM
Your computer sucks or the priority for scar.exe or something is really low.
Nadeem
04-29-2009, 01:35 PM
I am guessing it may be your RAM. Its too low!
Wizzup?
04-29-2009, 06:51 PM
Either your RAM is low, or SCAR has a memory leak.
PriSoner
04-29-2009, 07:50 PM
what version of SCAR are you using and please post an example of your SRL script that fails with the area.
Da 0wner
04-30-2009, 01:27 AM
I will laugh if he has SCAR 2.03.
But try restarting your computer to free memory leaks and look if the script in question is freeing the DTMs and BMPs (and forms). If not, try adding it :).
its probabily just because u havent been freeing dtm/bitmaps redownload srl see what happens
Edit:What wizzup said
Awkwardsaw
04-30-2009, 05:44 AM
o wow. forgot about this thread =p just to sum it up, scar is version 3.20(the fixed version), the begining of the script, as in once i hit play, scar freezes, then i get the error. it cant be the RAM(although it does suck i have to say) since it worked perfect before i changed to rev 32 or w/e, unless rev 32 just needs a LOT more ram then 31. and this happens in any script that has srl, scripts thats purely scar based works
Da 0wner
04-30-2009, 06:03 AM
Try SCAR 3.15b mmkay?
Awkwardsaw
04-30-2009, 06:25 AM
aw. 3.20 is so much better imo =D o well. i'll try it out
PriSoner
04-30-2009, 06:35 AM
Try doing a clean install..
Uninstal SCAR then manually delete the SCAR folder then reinstall and update SRL to rev 32.
If that fails please please please post a full script that fails without it we can't help!
As far as SRL/Scar 3.20x goes, there are various issues with colour finding, object finding and bitmap finding. Until SRL is updated to fully work with SCAR scripts can be fairly unpredictable.
Awkwardsaw
04-30-2009, 08:26 AM
oh i know to never use pure SCAR scripts for rs.. also for an example of script:
program new;
{.include SRL/SRL.scar}
begin
MMouse(100,100,0,0);
end.
if you need any thing else other than that, then i honestly have no idea what to say :P
Kyle Undefined
04-30-2009, 10:47 AM
Is that the script that causes the error?
~Camo
Da 0wner
04-30-2009, 11:45 AM
He says any script that uses SRL.
Also the script you just posted would be nub :'(.
You need SetupSRL;
But that is besides the point.
Try running this.
program New;
{.include SRL/SRL.scar}
begin
end.
Awkwardsaw
04-30-2009, 09:35 PM
^^ yep, same one. time to get scar 3.15 and give it a try
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.