Out of Memory - web applications

Posted by Walter White on Stack Overflow See other posts from Stack Overflow or by Walter White
Published on 2010-04-02T18:04:00Z Indexed on 2010/04/02 18:13 UTC
Read the original article Hit count: 479

Hi all,

I am trying to figure out why Jetty 6.1.22 is running out of memory on my laptop. I have 2 web applications running JBoss Seam, Hibernate (with EHCache), and separate Quartz scheduler instances.

With little load, the server dies throwing OutOfMemory.

What can I look for? Would you think that I am not properly closing handles for input streams or files?

I tried profiling my application with Netbeans, but it works off and on. Usually, it ends up locking up even though it doesn't use that much CPU or memory.

Walter

© Stack Overflow or respective owner

Related posts about java

Related posts about profiling