# Java heap space issue when saving report

**URL:** <https://forum.inductiveautomation.com/t/java-heap-space-issue-when-saving-report/22503>\
**Category:** Ignition\
**Created:** [February 12, 2019, 1:45pm UTC](https://forum.inductiveautomation.com/t/java-heap-space-issue-when-saving-report/22503 "2019-02-12T13:45:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![eduardo.ojalvo](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/eduardo.ojalvo/32/14356_2.png) [@eduardo.ojalvo](https://forum.inductiveautomation.com/u/eduardo.ojalvo)\
**Post date:** [February 12, 2019, 1:45pm UTC](https://forum.inductiveautomation.com/t/java-heap-space-issue-when-saving-report/22503/1 "2019-02-12T13:45:04Z")

</div>

Hi everybody.

When I try to save a report, no matter the format, from a client, the following error is prompted:

java.lang.OutOfMemoryError: java.lang.OutOfMemoryError: Java heap space

I’ve seen that after rebooting the server it works, however once I save it the first time, the RAM memory in use rises to about 6 GB and it remains occupied all the time.

The memory I’ve allocated for Java is:

# Initial Java Heap Size (in MB)

wrapper.java.initmemory=2048

# Maximum Java Heap Size (in MB)

wrapper.java.maxmemory=12288

With regard to the client, I have:

Initial 128 MB  
Max. 4096 MB

Java Version:1.8.0\_191-b12  
Ignition version: 7.9.10

Any ideas?

The ignition system is running into a virtual machine (VMWARE), may be the problem?

I have another problem, when i try to put my report in the reportviewer, the designer eviroment lock, i see the CPU around the 100% by the Java Web launcher process. I don´t understand because the same report in the designer report scope works well.

Thank you very much

---

<div class="post-metadata">

**Author:** ![dano38291](https://avatars.discourse-cdn.com/v4/letter/d/9d8465/32.png) [@dano38291](https://forum.inductiveautomation.com/u/dano38291)\
**Post date:** [February 15, 2019, 6:54pm UTC](https://forum.inductiveautomation.com/t/java-heap-space-issue-when-saving-report/22503/2 "2019-02-15T18:54:05Z")

</div>

Your table on your report might be “too small”, so when you pull in real data it generates like 1000 pages. Just make the table larger in the designer(more grey space). You might want to experiment with Table Groups as well to eventually get multiple tables to stack nicely.

---

<div class="post-metadata">

**Author:** ![eduardo.ojalvo](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/eduardo.ojalvo/32/14356_2.png) [@eduardo.ojalvo](https://forum.inductiveautomation.com/u/eduardo.ojalvo)\
**Post date:** [February 21, 2019, 4:03pm UTC](https://forum.inductiveautomation.com/t/java-heap-space-issue-when-saving-report/22503/3 "2019-02-21T16:03:32Z")

</div>

Thank you very much Dano for your answer.  
I have solved starting again don´t know what could happen but now its working.😀
