KevinQi1981 / jmemcache-daemon

Automatically exported from code.google.com/p/jmemcache-daemon
Apache License 2.0
0 stars 0 forks source link

When block storage tests are enabled, test runner JVM runs out of heap #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This seems to indicate inproper resource cleanup from the byte buffer block 
storage option.

Essentially after a few test runs with a cache storage of 32m, the JVM runs 
out of heap.

Original issue reported on code.google.com by ryan.daum on 8 Nov 2009 at 6:53

GoogleCodeExporter commented 9 years ago

Original comment by ryan.daum on 5 Feb 2010 at 3:31

GoogleCodeExporter commented 9 years ago
Seems to be a memory leak; starts to occur after multiple daemon creations in 
the same 
test runs (multiple configurations)

Original comment by ryan.daum on 5 Feb 2010 at 3:34

GoogleCodeExporter commented 9 years ago
Problem is localized to the ByteBufferBlockStore but not the memory-mapped 
version of 
it. Likely related to the cleanup of the byte buffer.

Original comment by ryan.daum on 5 Feb 2010 at 3:46

GoogleCodeExporter commented 9 years ago
decreased total heap usage in tests, allocate buffer direct, and make sure 
resources 
are cleaned up more elegantly on shutdown. Likely need to spend more time with 
a 
profiler here verifying proper cleanup, but this particular bug is closed for 
now

Original comment by ryan.daum on 5 Feb 2010 at 3:55