Re: memory usage

From: Holger Hoffstätte (holge..izards.de)
Date: Thu Apr 21 2005 - 05:23:28 EDT

  • Next message: Diego Maximiliano Iñig: "Configuration Pool in Cayenne"

    Tore Halset wrote:
    > This is only partly related to cayenne. Sorry.
    >
    > We have got some OutOfMemoryErrors in our system, so I have done some
    > analyze and some fixing. I have fixed the main problems, but I want to
    > get control over this memory issue. The cayenne application runs inside
    > a jboss instance with -Xmx1000MB.

    If you need a reasonably reliable way to get notified when memory gets
    tight and you're running on a 1.5 VM, you can check the MemoryMonitor
    outlined in http://www.javaspecialists.co.za/archive/Issue092.html. VMs
    prior to 1.5 have no reliable way to monitor heap usage and detect OOM
    conditions.

    Holger



    This archive was generated by hypermail 2.0.0 : Thu Apr 21 2005 - 05:23:30 EDT