poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47999] New: PATCH: OpenXML4j OPCPackage calls Runtime.getRuntime().gc() which is considered a perfomance bottleneck
Date Thu, 15 Oct 2009 07:17:02 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=47999

           Summary: PATCH: OpenXML4j OPCPackage calls
                    Runtime.getRuntime().gc() which is considered a
                    perfomance bottleneck
           Product: POI
           Version: 3.5-FINAL
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: POI Overall
        AssignedTo: dev@poi.apache.org
        ReportedBy: marcus@thiesen.org


OpenXML4j causes a lot of unnecessary garbage collection on our system
which leads to performace losses.

Apparently, according to the latest JavaDoc [1], a call to
Runtime.getRuntime().gc() causes a full heap garbage collect, which
isn't what you usually want in any longer running application. The
runtime knows when to garbage collect.


[1]: http://java.sun.com/javase/6/docs/api/java/lang/Runtime.html#gc()

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message