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/01/26 13:11:48 UTC

DO NOT REPLY [Bug 46602] New: out.of.mem exception when performing batch import of document structure

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

           Summary: out.of.mem exception when performing batch import of
                    document structure
           Product: POI
           Version: 3.2-FINAL
          Platform: PC
        OS/Version: Windows Server 2003
            Status: NEW
          Severity: major
          Priority: P2
         Component: POI Overall
        AssignedTo: dev@poi.apache.org
        ReportedBy: carl.skymne@gmail.com


Hi, 

we are using the poi implementation to perform a metadatatransfer to documents
imported to our ECM solution.
When doing batch imports we notice that the memory is increasing rapidly ending
up in an out of memory exception. The memory setting for the tomcat running the
application server is 1024 mb.
It seems like the poi doesn´t release the memory after it is done with the
metadata transfer for one document and before starting with the next. This
makes the apache allocate more memory and in the end ending up with a
out.of.mem exception in the log.
java.lang.OutOfMemoryError: Java heap space

The same test has been done without the metadata transfer and this does not end
up in this error. 

We are using Apache Tomcat 5.5.25 as application server and java 1.5.0_12.
The application is Webtop 6.0 SP1 (EMC) and the import is performed to
documentum contentserver 6.0 sp1 (EMC).

br
Carl Skymne


-- 
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 46602] out.of.mem exception when performing batch import of document structure

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


Nick Burch <ni...@torchbox.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME




--- Comment #1 from Nick Burch <ni...@torchbox.com>  2009-01-26 05:08:23 PST ---
I'm pretty sure this is a bug in your code, and you're not putting the old
document out of scope before opening the new one.

However, without any code, we can't know

Please re-open the bug if you can provide your code, and have already checked
that you are really allowing objects to go out of scope


-- 
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 46602] out.of.mem exception when performing batch import of document structure

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


Carl Skymne <ca...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|3.2-FINAL                   |3.1




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