# Java heap space - PDF Viewer

**URL:** <https://forum.inductiveautomation.com/t/java-heap-space-pdf-viewer/8328>\
**Category:** Ignition\
**Created:** [April 17, 2014, 11:01am UTC](https://forum.inductiveautomation.com/t/java-heap-space-pdf-viewer/8328 "2014-04-17T11:01:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Serhii](https://avatars.discourse-cdn.com/v4/letter/s/df788c/32.png) [@Serhii](https://forum.inductiveautomation.com/u/Serhii)\
**Post date:** [April 17, 2014, 11:01am UTC](https://forum.inductiveautomation.com/t/java-heap-space-pdf-viewer/8328/1 "2014-04-17T11:01:20Z")

</div>

Hello again. Have some trouble with PDF Viewer. When writing the path of file - desiner take error Java heap size. Sometimes i can to choose some pages of file, but then take error again.  
Size of file - 5 mb.  
Trying another files - same error.  
P.S. Initial memory - 1024, maximum - 3076. Server has 64 gb of memory, x64.  
P.P.S. Ignition version 7.6.5\_rc4, x64

---

<div class="post-metadata">

**Author:** ![greg.simpson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/greg.simpson/32/3135_2.png) [@greg.simpson](https://forum.inductiveautomation.com/u/greg.simpson)\
**Post date:** [April 18, 2014, 3:14pm UTC](https://forum.inductiveautomation.com/t/java-heap-space-pdf-viewer/8328/2 "2014-04-18T15:14:09Z")

</div>

I posted to your other forum in regards to saving the PDF. Can you try that module and see if you can use the PDF Viewer with this file and not receive the heap space error.

---

<div class="post-metadata">

**Author:** ![Serhii](https://avatars.discourse-cdn.com/v4/letter/s/df788c/32.png) [@Serhii](https://forum.inductiveautomation.com/u/Serhii)\
**Post date:** [April 24, 2014, 6:44pm UTC](https://forum.inductiveautomation.com/t/java-heap-space-pdf-viewer/8328/3 "2014-04-24T18:44:20Z")

</div>

With another PDF Viewer no problem. 🙂
