This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Other Java Products and Servers and the fly likes Glassfish 3.0.1 and Windows Server 2008 R2 Enterprise memory leak Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Glassfish 3.0.1 and Windows Server 2008 R2 Enterprise memory leak" Watch "Glassfish 3.0.1 and Windows Server 2008 R2 Enterprise memory leak" New topic
Author

Glassfish 3.0.1 and Windows Server 2008 R2 Enterprise memory leak

Robert James Liguori
Author
Ranch Hand

Joined: Nov 27, 2007
Posts: 529
    
    5

I have a memory leak with Glassfish 3.0.1 and Windows Server 2008 R2 Enterprise (64bit VPS machine), with or without any running applications

Is there a way to resolve this?

The same Glassfish 3.0.1 work fine on linux and Windows XP SP2 without any leaks.

I can see the leak through the Windows Task Manager, relative to the java.exe process. I'm using Java SE 6, update 22.

Thanks!


My Blog (I frequently post on Java, JSF and NetBeans)
Robert James Liguori
Author
Ranch Hand

Joined: Nov 27, 2007
Posts: 529
    
    5

Doing jmap -dump:file=normal.hprof [PID] and jhat normal.hprof

I get the following

...
WARNING: Failed to resolve object id ... from field constantPoolOop (signature L)
...

Any ideas?
Robert James Liguori
Author
Ranch Hand

Joined: Nov 27, 2007
Posts: 529
    
    5

Please see this issue: http://java.net/jira/browse/GLASSFISH-15589.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Glassfish 3.0.1 and Windows Server 2008 R2 Enterprise memory leak
 
Similar Threads
Domain does not support application server clusters and other standalone instances
SSO using SPNEGO in JBOSS 4.2.2
Memory Issues with JPA
Where GlassFish 3.0.1 in Windows XP save deployed projects?