Excessive Memory Allocation - StringBuffer.append()
I just got finished with a load test against my app. We're testing out Atomikos to see if it works for us.
It's OK in some ways but the memory allocation (no leak) is out of control. Watching with JProfiler, it appears that Atomikos makes heavy use of StringBuffer.append() and StringBuffer.toString().
The result is that Atomikos allocates more memory (by far!) than the entire rest of our software combined.
During the course of a <2hr load test it allocated over 140mb.
Anything I can do to cut this way down?
Without profiling images and more context this is hard to diagnose. Maybe you can try setting to the log level to WARN, not DEBUG?
Monday, August 02, 2010
Logging level is set to WARN via spring config:
This forum doesn't seem to allow upload of file attachments, I can probably post some profile screen captures to the web.
Thursday, August 05, 2010
Let's continue this thread by email - cf your mailbox:-) We can exchange attachment there...
Monday, August 09, 2010
FYI - this has been fixed in our code and will be included in the next release. I will let you know, but should I forget: make sure to try the next release if you can :-)
Sunday, September 26, 2010