You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlbeans-dev@xml.apache.org by bu...@apache.org on 2003/10/30 13:00:54 UTC

DO NOT REPLY [Bug 24248] New: - When number of items in a list field in an XML file exceed about 330000, this results in an OutOfMemoryError.

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=24248>.
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=24248

When number of items in a list field in an XML file exceed about 330000, this results in an OutOfMemoryError.

           Summary: When number of items in a list field in an XML file
                    exceed about 330000, this results in an
                    OutOfMemoryError.
           Product: XMLBeans
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: XmlObject
        AssignedTo: xmlbeans-dev@xml.apache.org
        ReportedBy: rudi.fillet@innovateict.nl


When number of items in an XML file exceed about 330000, this results in an 
OutOfMemoryError.
Defined a field within XSD as a list field results in a class that is extended 
from XmlListImpl.
Traced this down in the sources and it occurs in the XmlListImpl class in the 
lex(..) method during creating of a new value with "itemType.newValue(..)".

We have XML files with lists of about 1100000 items in them.
Does this mean that we cannot use XMLBeans? (At least not for those fields)

- ---------------------------------------------------------------------
To unsubscribe, e-mail:   xmlbeans-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-dev-help@xml.apache.org
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/