]
Tom Jenkinson updated JBTM-2234:
--------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
out of memory when logging more messages than heap size (surefire
issue)
------------------------------------------------------------------------
Key: JBTM-2234
URL:
https://issues.jboss.org/browse/JBTM-2234
Project: JBoss Transaction Manager
Issue Type: Bug
Components: Performance Testing
Affects Versions: 5.0.2
Environment: JTS testing
Reporter: Michael Musgrove
Assignee: Tom Jenkinson
Priority: Minor
Fix For: 5.next
Running com.hp.mwtests.ts.jts.orbspecific.local.performance.Performance2 on JacORB with
about 500000 transactions results in an OOM error because surefire keeps in logs in memory
until the test has finished.
In this particular test jacorb logs messages at INFO level for each transaction
resulting in excessive memory requirements. We can't make the heap too large because
the default JVM is 32 bit. However, we could fix it by reducing the jacorb log level to
WARN.