You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Sullivan, Sean C - MWT" <Su...@menlolog.com> on 2003/10/30 20:34:57 UTC

RE: DO NOT REPLY [Bug 24248] New: - When number of items in a l ist field in an XML file exceed about 330000, this results in an OutOfMem oryError.

What is the maximum heap size in your JVM?

Did you try increasing the heap size?

http://www-106.ibm.com/developerworks/java/library/j-tip-heap-size.html

-Sean



> -----Original Message-----
> From: bugzilla@apache.org [mailto:bugzilla@apache.org]
> Sent: Thursday, October 30, 2003 4:01 AM
> To: xmlbeans-dev@xml.apache.org
> Subject: 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/

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