Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: programmatically free memory




On Sep 2, 2007, at 4:19 PM, email@hidden wrote:

Hi,

Is there a way to programmatically free memory consumed by a web view? My
app is designed to run from boot to shut down, meaning the user seldom quits
it and so frees memory. It embeds a simple WebKit browser, which quickly
consumes an unacceptable amount of real memory. So I need a way to free it
without quitting the process. Is this feasible?

As long as your application doesn't keep touching those pages they will become candidates for page out if they system feels it need to do some paging and they wont get paged in unless you use them. So in general you likely don't need to worry about it.


Anyway the folks on the webkitsdk-dev list may be of more help on what caching you could disable, etc.

-Shawn
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >programmatically free memory (From: email@hidden)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.