heap memory not released

From: Oscar Maire-Richard (omair..idsa.es)
Date: Thu Dec 22 2005 - 06:29:09 EST

  • Next message: Howard Treisman: "RE: CLOB issue with Oracle"

    Hi all,

    I am requesting my application for generating big amount of
    CayenneDataObjects in a single http request but committing every a few
    objects (i.e. 100). The problem is that for the whole long request all
    the objects created stay in the heap memory and they are not released
    for garbage collection, increasing the number until they produce a
    system crash. It seems to be no dependent of cache configuration. I
    tried DataRowStore.clear() unsuccessfully. I tried System.gc()
    unsuccessfully, only whene I close the session the garbage collector is
    able to remove the objects.
    I am using a session bounded data context generated throw a
    WebApplicationListener.

    Is there a way to force the release of committed new CayenneDataObjects?

    Thanks in advance,

    Oscar Maire-Richard



    This archive was generated by hypermail 2.0.0 : Thu Dec 22 2005 - 06:28:04 EST