# Java out of memory

**URL:** <https://forum.cloverdx.com/t/java-out-of-memory/479>\
**Category:** CloverDX Platform\
**Created:** [February 20, 2009, 12:00am UTC](https://forum.cloverdx.com/t/java-out-of-memory/479 "2009-02-20T00:00:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rstather](https://avatars.discourse-cdn.com/v4/letter/r/e5b9ba/32.png) [@rstather](https://forum.cloverdx.com/u/rstather)\
**Post date:** [February 20, 2009, 12:00am UTC](https://forum.cloverdx.com/t/java-out-of-memory/479/1 "2009-02-20T00:00:00Z")

</div>

Hi

Running a graph writing to flat files causes jvm to run out of memory. Using the visualvm tool shows the the spawned process org.jetel.main.runGraphruns out of memory at about 20M. Is there a way to make clovergui start this with a -Xmx option so that the heap can be made larger?

Russell

---

<div class="post-metadata">

**Author:** ![jurban](https://avatars.discourse-cdn.com/v4/letter/j/cc9497/32.png) [@jurban](https://forum.cloverdx.com/u/jurban)\
**Post date:** [February 20, 2009, 12:12pm UTC](https://forum.cloverdx.com/t/java-out-of-memory/479/2 "2009-02-20T12:12:31Z")

</div>

Hi,  
you can find the run configuration of the graph (in the Run → Run configurations) and specify clover options there. Select the run configuration and in the first tab you can enter the Java memory size option. Alternatively you can specify any program and JVM arguments in the “Arguments” tab.

Jaro
