cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marco Rolappe" <>
Subject AW: memory on the status page
Date Sat, 05 Apr 2003 02:35:41 GMT
hi bert,

the 119MB is the amount of memory used by the java process (i.e. heap and
other resources).

the -Xmx parameter specifies the maximum size of the heap, i.e. not the
maximum size of memory used by the process.

the other numbers tell you that the heap's current size is 64MB of which
19MB are free.

to tune the memory parameters you can do the following:
 - enable logging for the store janitor (component that can flush
stores/caches when memory gets low)
 - have it enabled long enough a period and have the webapp used
 - the store janitor logs the values mentioned (current total and free heap
sizes) in a determined interval
 - later you can infer from those logs a more or less optimal value for the
maximum heap size

and you might want to restrict those memory settings to tomcat by setting

> -----Ursprungliche Nachricht-----
> Von:
> []Im
> Auftrag von Bert Van Kets
> Gesendet: Donnerstag, 3. April 2003 21:13
> An:
> Betreff: memory on the status page
> Hi all,
> I have Cocoon configured on a Windows2K server that is using JDK
> 1.3.1 and
> Tomcat 4.0.6.
> The JAVA_OPTS environment variable is set to -Xmx256m
> Tomcat is setup as a service and is using 119MB of memory.
> When I call the status page it tells me there's 64MB of memory
> and 19MB is
> available.
> What do these numbers actually represent?
> I have had loads of OutOfMemory problems, that seem to be solved
> now.  I'd
> like to have a good and clean look on memory consumption.
> Can anybody explain this please?
> Thanks a lot,
> Bert
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message