At 12:44 AM -0600 1/7/07, John Jobe wrote:
When embedded graphics are used in a running app the app's real memory usage (as displayed in Activity Monitor) goes up each time a new graphic is displayed and does not come back down until the app is closed. Is there a way to reclaim/free the memory the embedded graphic is using once it is not being displayed anymore?

Keeping all the graphics in a file or files and then reading those in to a single graphic variable as needed (rather than embedding all the graphics) solves the problem of memory usage going up and up, but if I could release the memory after a graphic is no longer displayed I could just drop the graphics into the project and not be concerned about swelling memory usage.

Hi John

This is an age old question and I've never seen a solution for it except to to keep the files external as you've suggested. On OSX you could keep the external files within your app's bundle so that it still looks like a single file app to your users.

Hope this helps,
Joe Huber
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to