Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2006
    Location
    In a black hole
    Posts
    91

    "Local" and clearing varibles or tables

    I know this is like a broken record from me. I just don't seem to keep it straight, OR I didn't get the answer I needed.

    If I set a variable or table with a local, is it nessisary to clear or nil the items when no longer needed too?

    Does using "" or nil keep it in memory only empty, when th elocal would have removed it?

    Is it best to use just local by itself or both?

    My core issue is I want as much memory cleared as I can while the program is still open.

    I have watched it when it's minimized in taskmgr (XP) and I see memory usage take a nose dive. How can I get this same effect when maximized, or can I?

    Can anyone explain this to me in depth, and\or suggest an app I can view what's loaded in memory from my app?

    Sorry for the basic repost.

  2. #2
    Join Date
    May 2005
    Posts
    1,115
    If you define the variables as local, the will be void at the end of the event where you have defined them. But the big memory usage is usually not due to variables, but having many pages, objects and especially pictures.

    You might want to enable the following option in the project settings:
    Project - Settings - Advanced - Conserve memory
    Never know what life is gonna throw at you.
    (Based on a true story.)

Similar Threads

  1. Using Tables and Memory resources handling
    By SUF6NEWBIE in forum AutoPlay Media Studio 5.0
    Replies: 3
    Last Post: 04-19-2004, 12:11 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