[jboss-user] JBoss Resident memory eats all the swap space

Remo Liechti remo.liechti at swisslog.com
Tue Mar 26 04:50:19 EDT 2013


Anyone?

Von: jboss-user-bounces at lists.jboss.org [mailto:jboss-user-bounces at lists.jboss.org] Im Auftrag von Remo Liechti
Gesendet: Montag, 25. März 2013 10:00
An: The JBoss User main mailing list
Betreff: Re: [jboss-user] JBoss Resident memory eats all the swap space

Nobody?

Von: jboss-user-bounces at lists.jboss.org<mailto:jboss-user-bounces at lists.jboss.org> [mailto:jboss-user-bounces at lists.jboss.org] Im Auftrag von Remo Liechti
Gesendet: Freitag, 15. März 2013 09:13
An: jboss-user at lists.jboss.org<mailto:jboss-user at lists.jboss.org>
Betreff: [jboss-user] JBoss Resident memory eats all the swap space

Hi guys,

Java process of jboss 5.1.0 eats like 500mb of RESident memory (top command) per day, which in the end fills all the swap space of the redhat linux and makes the entire system unstable.

JBoss is configuration:
JAVA_OPTS="-Xms128m -Xmx1024m -XX:PermSize=128M -XX:MaxPermSize=384M -Dorg.apache.el.parser.COERCE_TO_ZERO=false -Djava.awt.headless=true -Dcom.sun.management.jmxremote.port=9999 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false"

None of the memory visualized with jconsole(heap memory usage, non-heap memory usage, ps eden, ps survivor, ps old gen, ps code cache, ps perm gen) is growing over time, I took multiple heap dumps over time and compared. There is no heap memory leak within the application. Also, threads are not increasing.
Never the less, the RESident memory grows and grows, so after a week usually there is no swap left anymore and jboss has to be restarted. RESident starts at 1.4gb after new start of jboss (I guess this is xmx+perm) and increases up to 6gb before swap is used up.

The only thing I saw growing within jconsole is the "total loaded classes" which never ever gets smaller. However, the "loaded classes" stays on a constant level.
The application uses Spring, hibernate and JSF.

Do you have any ideas that can point me in the right direction?

Thanks,
Remo


This message may contain legally privileged or confidential information and is therefore addressed to the named persons only. The recipient should inform the sender and delete this message, if he/she is not named as addressee. The sender disclaims any and all liability for the integrity and punctuality of this message. The sender has activated an automatic virus scanning, but does not guarantee the virus free transmission of this message.

This message may contain legally privileged or confidential information and is therefore addressed to the named persons only. The recipient should inform the sender and delete this message, if he/she is not named as addressee. The sender disclaims any and all liability for the integrity and punctuality of this message. The sender has activated an automatic virus scanning, but does not guarantee the virus free transmission of this message.


This message may contain legally privileged or confidential information and is therefore addressed to the named persons only. The recipient should inform the sender and delete this message, if he/she is not named as addressee. The sender disclaims any and all liability for the integrity and punctuality of this message. The sender has activated an automatic virus scanning, but does not guarantee the virus free transmission of this message.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130326/a352a0f7/attachment.html 


More information about the jboss-user mailing list