Details
-
Type:
Sub-task
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 2.0.0-M1
-
Fix Version/s: Product Backlog
-
Component/s: Core: Queues (SEDA) / Persistence
-
Labels:None
-
User impact:High
-
Similar Issues:None
Description
Running stress test in MulticastRouterMule2136TestCase causes OutOfMemoryError.
I've tried to run it with yourkit profiler, and found that problems are caused by MemoryPersistenceStrategy. It grows unlimitedly while running stress test because for some reason not every object gets removed from there.
Cleaning it explicitly in the test helps, but I suppose that's not a solution.
This test runs fine in maven but fails somewhere after 7000 iteration in both eclipse and idea due to OutOfMemoryError. This may be due to differences in test setup/teardown between IDE's and surefire.