[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
Messages posted by: wrightd  XML
Profile for wrightd -> Messages posted by wrightd [1]
Author Message
Same issues here. Hundreds of ehcache-sizeof-agentXXXX.jar files in temp folder.
I'm on Windows. No App server involved. I have a bunch of Junit tests which start up a CacheManager, do some stuff, and shut the CacheManager down again. For each test looks like I'm getting one of these jar files in the temp folder.
Pretty sure the ant/junit architecture is shutting down the JVM properly.

A little research reveals that calling deleteOnExit might not be sufficient on windows to ensure the file is deleted. See the PS to this answer on stackoverflow:
http://stackoverflow.com/a/16694493

Is it possible some class is not closing the jar file?
 
Profile for wrightd -> Messages posted by wrightd [1]
Go to:   
Powered by JForum 2.1.7 © JForum Team