-
1. Re: JBOSS 5.1 goes out of memory after 12 hours of run
sashka_nem Nov 11, 2010 10:40 AM (in response to toanshuman)Did you find what was the reason?
I am having exactly same problem at the moment. And can't yet profile what exactly is allocating the objects.
I don't think I have something wrong in my Application Logic.
-
2. Re: JBOSS 5.1 goes out of memory after 12 hours of run
wdfink Nov 11, 2010 11:26 AM (in response to toanshuman)Are the number of instances increasing during the time?
You should check via visualGC or jstat (all from java homepage) whether the memory consumption increase.
If increase linear with load it looks like an application problem.
-
3. Re: JBOSS 5.1 goes out of memory after 12 hours of run
raj_kumar May 30, 2012 4:30 AM (in response to toanshuman)All,
I am having the same issue, recently i took the dump of Jboss and found that there are 10510222 instances of SimpleRole object.
I am using jboss 5.1. Do you know the reason behind this ?
Thanks
-
4. Re: JBOSS 5.1 goes out of memory after 12 hours of run
wdfink May 30, 2012 4:55 AM (in response to raj_kumar)first, it is better to create a new thread instead of reactivating such old one
But you are on the half way
What is SimpleRole object? Your code?
Search along the path and find the owner of that object, often it is a STATELESS session bean that hold some static variables and here are references to old objects that are never garbaged in that case.