commons-user mailing list archives

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

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 
http://developer.java.sun.com/developer/bugParade/bugs/4513817.html.

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?

Cheers,
	Forrest


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message