Re: Peak memory usage for Cayenne

From: Øyvind Harboe (oyvind.harbo..ylin.com)
Date: Fri Jun 20 2008 - 04:29:24 EDT

  • Next message: Øyvind Harboe: "Re: Peak memory usage for Cayenne"

    On Fri, Jun 20, 2008 at 10:26 AM, Andrus Adamchik
    <andru..bjectstyle.org> wrote:
    > We thought about automatically swapping out pages from the
    > IncrementalFaultList as it is getting filled. At the time we had doubts
    > about the efficiency of algorithms under consideration in all different
    > circumstances where pagination might be used. Now that I mentioned weak
    > references, this can be another algorithm for dealing with it - store each
    > "page" as a weak reference, so once its objects stop being referenced, it
    > will become a candidate for gc...

    Hmm.... I'd love it if adding a setPageSize() was all that was needed to
    solve these peak memory usage problems.

    I think I'll tinker a bit with a patch...

    -- 
    Øyvind Harboe
    http://www.zylin.com/zy1000.html
    ARM7 ARM9 XScale Cortex
    JTAG debugger and flash programmer
    



    This archive was generated by hypermail 2.0.0 : Fri Jun 20 2008 - 04:29:59 EDT