Re: OutOfMemory on Sun Java 1.4.2 on Linux
- From: "Tony Morris" <not@xxxxxxxxxxx>
- Date: Fri, 29 Apr 2005 20:58:24 +1000
"taab" <taab@xxxxxxx> wrote in message
news:42712765$0$27734$f69f905@xxxxxxxxxxxxxxxxxx
> 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
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.
--
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/
.
- References:
- OutOfMemory on Sun Java 1.4.2 on Linux
- From: taab
- OutOfMemory on Sun Java 1.4.2 on Linux
- Prev by Date: Re: Converting record stores (Palm) to ASCII
- Next by Date: Re: StringTokenizer/StreamTokenizer.
- Previous by thread: OutOfMemory on Sun Java 1.4.2 on Linux
- Next by thread: Cross tabulation - someone please help if you can
- Index(es):
Relevant Pages
|