Can you explain a bit more:
Which application server and version? Which JDK and version? Which OS
and version?
Which version of javamelody? with the grails / hudson / jira /
confluence / bamboo plugins?
What is the maximum heap space in this instance? (the Xmx value, which
is also displayed in the system informations part of the javamelody report)
Have you looked at the memory histogram available with a link in the
report? (systems actions need to be enabled to have this feature, and
they can be enabled with the javamelody parameter
system-actions-enabled). If you can give the first 10 or 20 lines of the
memory histogram, it would be great.
When does it occur? (immediately after start, after a few days...)
bye, Emeric
Le 18/08/2010 05:09, Ankur Jain a �crit :
Since you are using tomcat, you only need to add the following line in
your tomcat context and to restart the server, in order to enable system
actions:
<Parameter name='javamelody.system-actions-enabled' value='true'
override='false'/>
Can you add the parameter and click the "Memory histogram" link in the
report, in order to give the first 10 or 20 lines? (you will need to use
a JDK and not a JRE for tomcat in order to have the memory histogram)
More help on parameters is in
http://code.google.com/p/javamelody/wiki/UserGuide#6._Optional_parameters
And for information, the memory histogram is a list giving the number of
live instances per class, and it can also be seen with VisualVM or with
"jmap -histo".
It is a good idea to call the garbage collector before reading the
memory histogram.
bye, Emeric
Le 18/08/2010 07:06, Ankur Jain a �crit :
JDK: 1.5
Javamelody version: 1.18 --> its plugged in my application, I am using your jar
The error occurs after 1hr of application start.
I had attached the javamelody folder I got from my tomcat temp folder
And I had also not used any optional parameter
Regards,
Ankur Jain
Barclays Capital Services Limited
60B Republic Plaza #17-00, Singapore 238891
+65 6828 4271
ankur...@barclayscapital.com
-----Original Message-----
From: Emeric Vernat [mailto:eve...@free.fr]
Sent: Wednesday, August 18, 2010 12:08 PM
To: javam...@googlegroups.com
Cc: Jain, Ankur: IT (SGP)
Subject: Re: [javamelody] Out of memory issue
Hi Ankur,
Can you explain a bit more:
Which application server and version? Which JDK and version? Which OS
and version?
Which version of javamelody? with the grails / hudson / jira /
confluence / bamboo plugins?
What is the maximum heap space in this instance? (the Xmx value, which
is also displayed in the system informations part of the javamelody report)
Have you looked at the memory histogram available with a link in the
report? (systems actions need to be enabled to have this feature, and
they can be enabled with the javamelody parameter
system-actions-enabled). If you can give the first 10 or 20 lines of the
memory histogram, it would be great.
When does it occur? (immediately after start, after a few days...)
bye, Emeric
You have very few data in the javamelody files.
And you should first check your logs for the "org.quartz.core" category:
you had OutOfMemoryErrors at 8/17/10 12:42:10 PM, 8/18/10 3:37:23 AM and
8/18/10 4:54:08 AM, for the sql requests from getServicesCachedData and
from getContacts. It is a problem in your application.
You could also check the used memory in your OS and the RAM available in
your OS.
And it will not change anything, but you can probably divide your
MaxPermSize by 5.
bye, Emeric
Le 18/08/2010 07:02, Ankur...@barclayscapital.com a �crit :
> Le 18/08/2010 05:09, Ankur Jain a �crit :
bye, Emeric
Le 25/08/2010 03:58, Ankur Jain a �crit :