commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Forrest Girouard <>
Subject native memory leak on every call to File.deleteOnExit()
Date Wed, 03 Mar 2004 23:15:52 GMT

Is any one on this list aware that every call to File.deleteOnExit() 
leaks memory in the native heap?  This eventually crashes the JVM.  
Please see

It seems to me that the call to deleteOnExit() from 
DefaultFileItem.getTempFile() is premature and that it should really be 
called from DeferredFileOutputStream.thresholdReached().  Thoughts?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message