programmatically free memory

  • 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?

    Thanks.
    F.
  • Could you quantify how much memory you see being used here?

    On Sep 2, 2007, at 4:19 PM, <slasktrattenator...> 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?
    >
    > Thanks.
    > F.
  • On Sep 2, 2007, at 4:19 PM, <slasktrattenator...> 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
previous month september 2007 next month
MTWTFSS
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
Go to today