Results 1 to 6 of 6

Thread: Scar out of memory?

  1. #1
    Join Date
    Oct 2006
    Location
    Ireland
    Posts
    855
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Scar out of memory?

    I was running a private script of mine and about 2 hours into running a message came up saying 'Scar has run out of system memory' or something like that. Could this be caused by unreleased bitmaps/dtms? Could it be caused by file writing because it only started happening after I made it write proggy reports to file (I am making sure to close file).

    Help appreciated.

    Ps. Post 500 yay!

  2. #2
    Join Date
    Feb 2006
    Location
    London, England
    Posts
    2,045
    Mentioned
    2 Post(s)
    Quoted
    0 Post(s)

    Default

    You are probably constantly loading bitmaps or DTMs without freeing them after use.
    SRL Wiki | SRL Rules | SRL Stats
    Ultimate SCAR Scripting Tutorial | Starblaster100's Auth System | Join the official SRL IRC now!


    Help Keep SRL Alive! Please disable Advert Blockers on SRL! Help Keep SRL Alive!


  3. #3
    Join Date
    Oct 2006
    Location
    Ireland
    Posts
    855
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I dont think I am, I'll check but Im pretty sure I only load once..

  4. #4
    ronny.m.p Guest

    Default

    SCAR has a limited text amount that it can send to a file at once before it encounters errors. (If i'm not mistaken...)

  5. #5
    Join Date
    Oct 2006
    Posts
    161
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    you might try clearing debug box and report box before report?

  6. #6
    Join Date
    Feb 2006
    Location
    Pennsylvania
    Posts
    1,524
    Mentioned
    2 Post(s)
    Quoted
    1 Post(s)

    Default

    Remember to free you bitmaps and DTMs, and if you are using forms, clear those too.

    Freebitmap(bitmap name here)
    FreeDTM(DTM name here)
    FreeForm(form name here)

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. scar using huge memory...
    By sherlockmeister in forum News and General
    Replies: 15
    Last Post: 08-20-2007, 09:06 PM

Posting Permissions

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