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 2014/11/20 17:27:05 UTC

[Bug 57241] New: POI 3.9 and framework Document Manager is retaining memory

https://issues.apache.org/bugzilla/show_bug.cgi?id=57241

            Bug ID: 57241
           Summary: POI 3.9 and framework Document Manager is retaining
                    memory
           Product: POI
           Version: 3.9-FINAL
          Hardware: PC
            Status: NEW
          Severity: critical
          Priority: P2
         Component: XSSF
          Assignee: dev@poi.apache.org
          Reporter: ferdaws_tounsia@yahoo.fr

Today I have performance issues after importing/exporting xlsm templates in my
java web application ( apache,tomcat 6,POI 3.9,java 6,Oracle
database).Uploading an xlsm file is taking 400 MB of memory and the memory is
not totally released.

In total 65 % of the massive JVM memory is being retained by the POI APIs ,
Traditionally POI always known to have a higher memory footprint , it uses a
lot of memory when dealing with large spreadsheets. 

Apart from POI, the framework Document Manager class was also retaining  28 %
of the heap memory. I think here the documents which are being imported by the
application are being stored in memory however references for those are being
retained even after import finishes. That's the reason why probably JVM Garbage
Collector is not being able to clean those objects from memory. 

Do you have a clue to free this memory?

thank you

-- 
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


[Bug 57241] POI 3.9 and framework Document Manager is retaining memory

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57241

Nick Burch <ap...@gagravarr.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from Nick Burch <ap...@gagravarr.org> ---
Try upgrading to 3.11 beta 3, then make sure you're explicitly closing
Workbooks you open + setting the references to null

-- 
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


[Bug 57241] POI 3.9 and framework Document Manager is retaining memory

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57241

Dominik Stadler <do...@gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

-- 
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