You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Oscar Gonzalez (JIRA)" <ji...@apache.org> on 2010/04/16 09:47:25 UTC

[jira] Created: (FILEUPLOAD-181) finalize method substitution

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