Results 1 to 7 of 7

Thread: Memory Leak?

  1. #1
    Join Date
    Sep 2008
    Location
    Chicago
    Posts
    224
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Memory Leak?

    After about 10 hours my script always gets a runtime error like

    [Runtime Error] : Exception: Out of memory in line 351 in script SCAR 3.15\includes\SRL/SRL/Core/Text.scar
    or
    [Runtime Error] : Exception: Out of memory in line 1088 in script SCAR 3.15\includes\SRL/SRL/Core/AntiRandoms/AntiRandoms.scar

    The script uses 2 bmps and 2 dtms that I only called once in the beggining.

    No idea why i'm getting those errors

  2. #2
    Join Date
    Oct 2006
    Location
    Texas
    Posts
    1,450
    Mentioned
    1 Post(s)
    Quoted
    1 Post(s)

    Default

    How much ram does your pc have?

  3. #3
    Join Date
    Sep 2008
    Location
    Chicago
    Posts
    224
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Buckleyindahouse View Post
    How much ram does your pc have?
    1.37 GB

  4. #4
    Join Date
    Sep 2008
    Location
    Not here.
    Posts
    5,422
    Mentioned
    13 Post(s)
    Quoted
    242 Post(s)

    Default

    i get a runtime error(out of memory) for the isuptextmulticustom that is used in forefeathers... after about a 150hourproggy on my autoing computer it stops...i wanted to beat the record... but i can't.

  5. #5
    Join Date
    May 2008
    Posts
    1,345
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Are you releasing them after use (if your calling them every time you use them)?

  6. #6
    Join Date
    Sep 2006
    Location
    include srl/srl.scar ( aussie)
    Posts
    2,875
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by mormonman View Post
    i get a runtime error(out of memory) for the isuptextmulticustom that is used in forefeathers... after about a 150hourproggy on my autoing computer it stops...i wanted to beat the record... but i can't.
    Replqace it with IsUptext and pick the best one to put in there.

  7. #7
    Join Date
    Sep 2008
    Location
    Not here.
    Posts
    5,422
    Mentioned
    13 Post(s)
    Quoted
    242 Post(s)

    Default

    Quote Originally Posted by NiCbaZ View Post
    Replqace it with IsUptext and pick the best one to put in there.
    ok i will test it... on my laptop i get out of memory at about 50 hours... so i will test on that one!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Memory Leak? What is it?
    By Claymore in forum OSR Help
    Replies: 7
    Last Post: 07-17-2008, 12:40 AM

Posting Permissions

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