commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oscar Gonzalez (JIRA)" <j...@apache.org>
Subject [jira] Created: (FILEUPLOAD-181) finalize method substitution
Date Fri, 16 Apr 2010 07:47:25 GMT
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

        

Mime
View raw message