finalize method substitution
----------------------------

                 Key: FILEUPLOAD-181
                 URL: https://issues.apache.org/jira/browse/FILEUPLOAD-181
             Project: Commons FileUpload
          Issue Type: Improvement
            Reporter: Oscar Gonzalez


As some java.sun.com articles recommends, the finalize method should be 
substituted to improve memory management.

In heavy load environment, with many upload executions, the use of finalize 
method may cause OutOfMemoryErrors because of low priority of FinalizerThread.

See http://www.fasterj.com/articles/finalizer1.shtml and 
http://www.fasterj.com/articles/finalizer2.shtml
See http://java.sun.com/developer/technicalArticles/javase/finalization/ to see 
an alternative

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to