Hi all,
My application (on JBoss) is experiencing strange problem on one of our
environment - on Linux on Itanium 2 - Sun Java 1.4.2_07 and 64 bit.
On all other platforms (windows, linux, 32 bit) is ok.
After 2-3 http requests the OutOfMemory exception is thrown.
Java is started with -Xmx1024M. In fact the bahaviour is exactly the
same as -Xmx512M.
'uname -a' shows unlimited resources for memory.
There is plenty of free memory in the system (main and swap) - for
example I can run 3 such java processes at the same time - but each is
reporting out of memory after few requests as it is for one java spawned.
'top' shows that java eats ~400M when the OutOfMemory is thrown.
Where to look, what to check?
taab
Tony Morris - 29 Apr 2005 11:58 GMT
> Hi all,
> My application (on JBoss) is experiencing strange problem on one of our
[quoted text clipped - 11 lines]
> Where to look, what to check?
> taab
Given that it's easy to reproduce, you merely have to find which application
is installed that is leaking memory.
Use a profiler if it's not obvious, but trial and error should yields
results in a few minutes or less.

Signature
Tony Morris
JTiger Unit Test Framework for J2SE 1.5
http://www.jtiger.org/
Java Q&A (FAQ, Trivia)
http://qa.jtiger.org/
http://xdweb.net/~dibblego/