Results 1 to 17 of 17

Thread: Scar Taking too much Memory

  1. #1
    Join Date
    May 2008
    Location
    Utah
    Posts
    117
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Scar Taking too much Memory

    I have dont some searches on this topics, i have seen people posting this error in certain scripts but none of them are being answered. Every time i have started the POMS Rune Essence miner script i get a error saying my computer has run out of memory or exact quote:

    [Runtime Error] : Exception: Out of memory in line 532 in script C:\...\SCAR\includes\SRL\SRL\Core\Text.scar

    From what i can tell on what is on line 532 is the option selector.

    I can only run this script for about 2 hours, that is my average before it locks up and says it has run out of memory. I have done the whole nine yards on restarting scar, my computer, even msconfig. I only have Scar running and i average up to 2 hours.

    Does anyone know how to fix this and make it so scar doesn't take up all my memory and crash?

  2. #2
    Join Date
    Dec 2006
    Location
    Canada, BC
    Posts
    728
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I think you might need to get a better computer, or maybe you have viruses that eat up your computers ram?
    Lance. Da. Pants.

  3. #3
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Haha I doubt both, scar/runescape should never be that memory intensive. Probably a small problem in the script/srl.

  4. #4
    Join Date
    May 2008
    Location
    Utah
    Posts
    117
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I don't think i need a better computer. haha I custom built it, not the best specs and I am upgrading the ram to 2 gigs soon. I know that this has been solved before, a couple years ago i think i remember when i have having the same issue, but i don't quite remember what it was that fixed it.

    {edit}I am checking for Viruses now.
    Last edited by Rizowski; 05-07-2010 at 05:44 PM. Reason: New Edit

  5. #5
    Join Date
    Mar 2010
    Location
    New Hampshire, U.S.A
    Posts
    586
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    im thinking i know what ur problem is :\

    maybe not though

    check that everything is reed in script. then try to free everything locally instead of globally because if the script is terminated then it might never get to the part wherer it frees everything
    Sell botted goods at mid to high prices!!! Else we lose our profit AND ruin the game!!!!

  6. #6
    Join Date
    May 2008
    Location
    Utah
    Posts
    117
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by g0tp0t View Post
    check that everything is reed in script. then try to free everything locally instead of globally because if the script is terminated then it might never get to the part wherer it frees everything
    Sorry I am not quite following you? I have disabled not just background processes but also, web browser, IM stuff like that as well? is that what you are referring to as locally?

  7. #7
    Join Date
    Nov 2006
    Posts
    2,369
    Mentioned
    4 Post(s)
    Quoted
    78 Post(s)

    Default

    Try running a different script and if it doesn't lagg the problem should be in the script

  8. #8
    Join Date
    Dec 2006
    Location
    Canada, BC
    Posts
    728
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    oh also restart your computer when theres a crash due to memory, it will clean your ram I think..
    Lance. Da. Pants.

  9. #9
    Join Date
    May 2008
    Location
    Utah
    Posts
    117
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Alright as of right now i am running |Draynor Chop N' Bank - Revision 58 - | From what i can tell it isn't taking as much memory up as the other script. I will let it run for a few more hours and see what it is doing. The memory usage as of right now is 173,724k. I am running a virus scan and I am hoping that is the problem. After that i will restart and run the script again. cya in a few hours haha.

  10. #10
    Join Date
    Jan 2010
    Posts
    5,227
    Mentioned
    6 Post(s)
    Quoted
    60 Post(s)

    Default

    I got this after about 47 hours of YoHoJo's PMS. I don't think there's much that you can do, other than not do a lot of stuff while you auto. Correct me if I'm wrong, but I think you have to live with it for now.

  11. #11
    Join Date
    Mar 2010
    Location
    New Hampshire, U.S.A
    Posts
    586
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    thats what i did when scar gave this error. when you restart im fairly sure it empties your ram. unless you hibernate.

    what i meant but horribly explained was supposed to be:

    sometimes scripts create bitmaps or dtms, and they store them in memory. there is a freedtm() and freebitmao() procedure in scar. what it does is remove that bitmap or dtm from your memory. if you do not free them then the bitmaps and dtms stay in memory till u shut your computer off. i think that might be your problem. thats called a memory leak(when bitmaps or dtms arent freed)
    Sell botted goods at mid to high prices!!! Else we lose our profit AND ruin the game!!!!

  12. #12
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I am pretty sure it's the script, i've also abused scar with lots and lots and lots of dtm and bitmap loading but also freeing and if you free everything shouldn't be a problem(refers to my ECS(check the dtm system), my suggestion is to check the script for memory leaks aka unfreed bmps or dtms.
    ~Hermen

  13. #13
    Join Date
    Jul 2008
    Location
    Canada
    Posts
    1,612
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Most definitely the script.

    [use simba ]

  14. #14
    Join Date
    May 2008
    Location
    Utah
    Posts
    117
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Something New, I found another topic with this same error that i had, The error has changed though to the script it self not getting enough memory. I got this error after doing Malware, spyware, and virus scans. This error was bad enough that it had me send an error report. :/

  15. #15
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by moae3 View Post
    Something New, I found another topic with this same error that i had, The error has changed though to the script it self not getting enough memory. I got this error after doing Malware, spyware, and virus scans. This error was bad enough that it had me send an error report. :/
    Boy, those reports do nothing.

    I would suggest trying out Simba, or the newest SCAR.

    E: I say Simba, because it will tell you when you have memory leaks.
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

  16. #16
    Join Date
    May 2008
    Location
    Utah
    Posts
    117
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Where do i find Simba? I haven't heard of it until recently? I have the recent scar, i have checked for updates everyday via Tortoise.

    {edit}Ah found where to find it. ->Here<-haha. I just had an idea, probably wont help if this is what you said is true below. But would runing Scar in a Virtual box help that in any way?
    Quote Originally Posted by g0tp0t View Post
    sometimes scripts create bitmaps or dtms, and they store them in memory. there is a freedtm() and freebitmao() procedure in scar. what it does is remove that bitmap or dtm from your memory. if you do not free them then the bitmaps and dtms stay in memory till u shut your computer off. i think that might be your problem. thats called a memory leak(when bitmaps or dtms arent freed)
    Last edited by Rizowski; 05-08-2010 at 03:52 AM. Reason: New info

  17. #17
    Join Date
    Mar 2010
    Location
    New Hampshire, U.S.A
    Posts
    586
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    7 days isnt grave dig right? :P. no, runing in vb will probably make it run out of memory faster because virtual box is not allowed more than 75% of your memory. so that means if what is happening is your memory is filled with crap then you will run out of memory 25%sooner. that might not be the problem though :\
    Sell botted goods at mid to high prices!!! Else we lose our profit AND ruin the game!!!!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •