Classes in the api.persistencemanager package and subpackages, when the test FAILS, or in some cases when there is an ERROR, pmf is not closed. This is responsible for about 200MB of unrecovered memory usage, causing java.lang.OutOfMemoryError before a work-around was checked in. See
JDO-21.