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 2003/07/25 10:04:48 UTC

DO NOT REPLY [Bug 21876] New: - java.lang.OutOfMemoryError: unable to create new native thread

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21876>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21876

java.lang.OutOfMemoryError: unable to create new native thread

           Summary: java.lang.OutOfMemoryError: unable to create new native
                    thread
           Product: POI
           Version: 2.0-pre2
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: HSSF
        AssignedTo: poi-dev@jakarta.apache.org
        ReportedBy: fbernard167@altran-europe.be


Hello,

My system is weblogic 6.1 and solaris 5.8. The JDK is 1.3.1

I use HSSF to generate an excel file that sizes 550kb (so a big file)

It works 2 times, the third there is an error �java.lang.OutOfMemoryError: 
unable to create new native thread�

I've tried with the option -verbosegc to see the works of the garbage collector:

There is a need of lot of memory for HSSF work, but when the exception is 
raised, there is plenty of memory available. (In fact, I see that the used 
memory goes from 9M to 25M for the generation of one file, go back to 9M after 
the file generation)


So I suppose there is a memory leak (but in a �native call�?) and it may be 
linked to the OS/JDK

Regard from a Frenchman living in Belgium