pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From le...@apache.org
Subject svn commit: r1598103 - /pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/ExtractImages.java
Date Wed, 28 May 2014 18:58:40 GMT
Author: lehmi
Date: Wed May 28 18:58:39 2014
New Revision: 1598103

URL: http://svn.apache.org/r1598103
Log:
PDFBOX-2101: clear resources to avoid OOM

Modified:
    pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/ExtractImages.java

Modified: pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/ExtractImages.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/ExtractImages.java?rev=1598103&r1=1598102&r2=1598103&view=diff
==============================================================================
--- pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/ExtractImages.java (original)
+++ pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/ExtractImages.java Wed May 28
18:58:39 2014
@@ -214,6 +214,7 @@ public class ExtractImages
                 }
             }
         }
+        resources.clear();
     }
 
     /**



Mime
View raw message