# Exporting a large report as a PDF fails to open, PDF is "damaged"

**URL:** <https://forum.inductiveautomation.com/t/exporting-a-large-report-as-a-pdf-fails-to-open-pdf-is-damaged/28888>\
**Category:** Ignition Early Access\
**Created:** [October 7, 2019, 5:54pm UTC](https://forum.inductiveautomation.com/t/exporting-a-large-report-as-a-pdf-fails-to-open-pdf-is-damaged/28888 "2019-10-07T17:54:05Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![danieltalbot](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/danieltalbot/32/11201_2.png) [@danieltalbot](https://forum.inductiveautomation.com/u/danieltalbot)\
**Post date:** [October 7, 2019, 5:54pm UTC](https://forum.inductiveautomation.com/t/exporting-a-large-report-as-a-pdf-fails-to-open-pdf-is-damaged/28888/1 "2019-10-07T17:54:05Z")

</div>

A user is trying to export a 276-page report as a PDF. When he opens the PDF (in Chrome or Adobe Reader), it fails, saying that the PDF is damaged.

The report fluctuates in size based on a selected time frame. When a shorter time frame is selected, and the report is only 41 pages, it can be exported as a PDF and opened normally.

Has anyone run into this? Is this a bug? Any thoughts?

We are running version 8.0.5.

Thank you

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [October 7, 2019, 6:17pm UTC](https://forum.inductiveautomation.com/t/exporting-a-large-report-as-a-pdf-fails-to-open-pdf-is-damaged/28888/2 "2019-10-07T18:17:13Z")

</div>

Can you give me a little more information on how they are exporting it? Since you say export, I assume you mean they view the report in the Vision component and right click to export – if not, can you give me exact reproduction steps?

Also, if this is in the Vision component, any clue how much memory the client has? If not, that’s okay, but it might help us troubleshoot.

---

<div class="post-metadata">

**Author:** ![danieltalbot](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/danieltalbot/32/11201_2.png) [@danieltalbot](https://forum.inductiveautomation.com/u/danieltalbot)\
**Post date:** [October 7, 2019, 6:22pm UTC](https://forum.inductiveautomation.com/t/exporting-a-large-report-as-a-pdf-fails-to-open-pdf-is-damaged/28888/3 "2019-10-07T18:22:55Z")

</div>

It is a vision project. The max heap size is 2048M.

Yes, the user is viewing the report in the vision client. The report viewer displays all the data correctly. The user is right-clicking the report and clicking “Save as PDF”, which appears to work without error. It’s only after the PDF is saved and he tries opening it with Chrome or Adobe Reader that he gets an error saying that the PDF is damaged.

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [October 7, 2019, 7:50pm UTC](https://forum.inductiveautomation.com/t/exporting-a-large-report-as-a-pdf-fails-to-open-pdf-is-damaged/28888/4 "2019-10-07T19:50:21Z")

</div>

Great – that helps.I’ll try to reproduce that here.

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [October 7, 2019, 9:14pm UTC](https://forum.inductiveautomation.com/t/exporting-a-large-report-as-a-pdf-fails-to-open-pdf-is-damaged/28888/5 "2019-10-07T21:14:53Z")

</div>

Just exported a 257 page report and opened it in Chrome and Preview without issues on 8.0.6 nightly. You might need to contact support for reproduction on this. :\

---

<div class="post-metadata">

**Author:** ![danieltalbot](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/danieltalbot/32/11201_2.png) [@danieltalbot](https://forum.inductiveautomation.com/u/danieltalbot)\
**Post date:** [October 7, 2019, 9:22pm UTC](https://forum.inductiveautomation.com/t/exporting-a-large-report-as-a-pdf-fails-to-open-pdf-is-damaged/28888/6 "2019-10-07T21:22:24Z")

</div>

I really appreciate the help on this. Thank you. I will reach out to support.
