# Out of heap errors reading excel files with 16GB RAM

**URL:** <https://forum.knime.com/t/out-of-heap-errors-reading-excel-files-with-16gb-ram/19138>\
**Category:** KNIME Analytics Platform\
**Created:** [October 30, 2019, 1:04am UTC](https://forum.knime.com/t/out-of-heap-errors-reading-excel-files-with-16gb-ram/19138 "2019-10-30T01:04:25Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![mlauber71](https://forum-cdn.knime.com/user_avatar/forum.knime.com/mlauber71/32/73590_2.png) [@mlauber71](https://forum.knime.com/u/mlauber71)\
**Post date:** [October 30, 2019, 5:21am UTC](https://forum.knime.com/t/out-of-heap-errors-reading-excel-files-with-16gb-ram/19138/2 "2019-10-30T05:21:53Z")

</div>

You can tell each node to store its results on the disc that could save RAM

> [@Knime 3.6 Crash when dealing with massive data](https://forum.knime.com/t/knime-3-6-crash-when-dealing-with-massive-data/12145/2):
>
> you could try and increase the assigned memory in the knime.ini configuration file but with only 4 GB there are limits to that ([https://www.knime.com/blog/optimizing-knime-workflows-for-performance](https://www.knime.com/blog/optimizing-knime-workflows-for-performance)). On other option is to set the “Memory Policy” of the (sorter) node to “Write tables to disc”. Obviously this increases the load on the hard drive but it might save on RAM. [image] Also you could try and close other workflows, restart KNIME an try to use the garbage collector. [image] [image] T…

Managing the flow of data with flow variables is a good idea.

The you could check other tips to increase performance.

> **[Optimizing KNIME workflows for performance | KNIME](https://www.knime.com/blog/optimizing-knime-workflows-for-performance)**
>
> KNIME provides performance extensions such as the KNIME Big Data Connectors for executing Hive queries on Hadoop, or the KNIME Extension for Apache Spark for training models on Hadoop using Apache Spark. But sometimes it doesn’t make sense to run...

The another idea could be to increase the RAM allocated to KNIME to 10 or 12 GB and not have other big programs running.

Then you might give us a better idea how your workflow looks like and what it does so we might see how to improve things.

---

_[View the full topic](https://forum.knime.com/t/out-of-heap-errors-reading-excel-files-with-16gb-ram/19138)._
