# XML Reader : array size exceeds vm limit

**URL:** <https://forum.knime.com/t/xml-reader-array-size-exceeds-vm-limit/7469>\
**Category:** KNIME Extensions\
**Tags:** text-processing\
**Created:** [March 4, 2015, 6:11pm UTC](https://forum.knime.com/t/xml-reader-array-size-exceeds-vm-limit/7469 "2015-03-04T18:11:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sanatan](https://forum-cdn.knime.com/user_avatar/forum.knime.com/sanatan/32/36422_2.png) [@sanatan](https://forum.knime.com/u/sanatan)\
**Post date:** [March 4, 2015, 6:11pm UTC](https://forum.knime.com/t/xml-reader-array-size-exceeds-vm-limit/7469/1 "2015-03-04T18:11:36Z")

</div>

Hi All,

I am working on big size XML files 1-2 GB each and i have 10 of those.

My knime.ini has XMX as 25000M and&nbsp;XX:MaxPermSize 2048M

Every time i am getting this error:&nbsp;array size exceeds vm limit

---

<div class="post-metadata">

**Author:** ![thor](https://forum-cdn.knime.com/user_avatar/forum.knime.com/thor/32/4_2.png) [@thor](https://forum.knime.com/u/thor)\
**Post date:** [March 4, 2015, 10:43pm UTC](https://forum.knime.com/t/xml-reader-array-size-exceeds-vm-limit/7469/2 "2015-03-04T22:43:21Z")

</div>

It's not possible to read XML files that have more than ~1.5GB and store the complete document in one cell. This is an inherit limit of Java. You can try to extract the relevant contents in the XML Reader so that each cell gets conderably smaller.

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [June 2, 2023, 9:49pm UTC](https://forum.knime.com/t/xml-reader-array-size-exceeds-vm-limit/7469/3 "2023-06-02T21:49:44Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
