Memory leak after multiple open-close Environment
525672Jul 30 2006 — edited Aug 14 2006Hello, dear developers of JE
It seems to me that I face with insuperable obstacle.
I run JUnit3.8 tests on WindowsXP, 512Mb, JDK1.5. Before execute every test method in setup() I open Environment, create 3-5 Databases. Then put 3-10 small objects, read them. After test in tearDown() I close and remove all Databases, close Environment and remove its files from disk, collect garbage.
During running few test cases that consist of not more then 100 test methods OutOfMemoryError happens. Increasing of cache memory increases the number of executed test cases before crash. Setting je.log.memOnly to true accelerate raising the exception.
Separate test methods execution is successful.
Thanks, Alex