Re: Garbage collecter out of memory

2015-09-23 Thread Tim Bain
Excellent, sounds like a valuable learning experience, which is one of the things that internships are all about. On Sep 23, 2015 2:20 PM, "mhempleman" wrote: > Thanks for your help Tim. It was the application heap size. I upped it to > 2G and the errors disappeared. I think I didn't see the e

Re: Garbage collecter out of memory

2015-09-23 Thread mhempleman
Thanks for your help Tim. It was the application heap size. I upped it to 2G and the errors disappeared. I think I didn't see the errors with HornetQ because I tested on a day whey we had very little data to process. I feel like an idiot for taking two days to figure it out, but I did learn a lo

Re: Garbage collecter out of memory

2015-09-23 Thread Tim Bain
Your efforts are focused on the wrong JVM. The broker's fine, and your webapp is not, as shown by the two screenshots you shared. On the broker side, what you're showing looks like perfectly normal JVM garbage collection, though it looks like Young Gen is only 3/8ths of the full heap, which is lo

Re: Garbage collecter out of memory

2015-09-22 Thread mhempleman
FYI the image from the previous post was for the ActiveMQ process. This is the application process: -- View this message in context: http://activemq.2283324.n4.nabble.com/Garbage-collecter-out-of-memory-tp4702160p4702192.html

Re: Garbage collecter out of memory

2015-09-22 Thread mhempleman
Hi Tim, Thanks for the reply. If I force a full GC, memory usage does not drop. I'm not actually not using all of my memory. Execution is slowing down to the point that messages are timing out (presumably due to excessive GC). I increased the size of my JVM and the change had no effect. For s

Re: Garbage collecter out of memory

2015-09-21 Thread Tim Bain
Also, I see you're using a DeserializerCache, which strongly implies there'll be some caching going on; are you sure you've configured the caching behavior appropriately for your JVM size and expected use case? On Sep 21, 2015 8:22 PM, "Tim Bain" wrote: > If you "force" a full GC (as much as it's

Re: Garbage collecter out of memory

2015-09-21 Thread Tim Bain
If you "force" a full GC (as much as it's possible to do that since it's really just a suggestion), does memory usage drop substantially? If not, it's not the garbage collector's fault, you're using all of your memory, either because there's a memory leak (unlikely given how many other people run