You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2009/10/15 09:17:02 UTC
DO NOT REPLY [Bug 47999] New: PATCH: OpenXML4j OPCPackage calls
Runtime.getRuntime().gc() which is considered a perfomance bottleneck
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
DO NOT REPLY [Bug 47999] PATCH: OpenXML4j OPCPackage calls
Runtime.getRuntime().gc() which is considered a perfomance bottleneck
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47999
Nick Burch <ni...@torchbox.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Nick Burch <ni...@torchbox.com> 2009-10-16 06:37:32 UTC ---
Thanks for this patch, I've applied it to trunk. Do shout if you find any more
performance things like this!
--
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
DO NOT REPLY [Bug 47999] PATCH: OpenXML4j OPCPackage calls
Runtime.getRuntime().gc() which is considered a perfomance bottleneck
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47999
--- Comment #1 from Marcus Thiesen <ma...@thiesen.org> 2009-10-15 00:18:33 UTC ---
Created an attachment (id=24380)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=24380)
Patch to remove Call
--
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