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

Some time ago I opened this ticket about a java.lang.OutOfMemoryError that was happening in the Viewer and Annotation project. The issue was fixed in GroupDocs.Annotation for Java 21.7.2 but any release was made for the Viewer and the issue still happens on it. I tested the two projects setting the same Java Heap Size for them, -Xmx4g. I attached the files that I used for the test, I started from the first one and when I tried to open the fourth (H20993G002D -.pdf) the application blows the error.

Git project: GitHub - groupdocs-viewer/GroupDocs.Viewer-for-Java: GroupDocs.Viewer for Java examples, plugins and showcase
Git branch: master
Git revision: 68715f6
Browser: Version 96.0.4664.110 (Official Build) (64-bit)
SO: Windows 10
Java version: 1.8.0_281
CPU: Inter® Core™ i7-9750H CPU @ 2.60GHz
Memory: 16 GB
GitHub Thread: Java heap space error · Issue #50 · groupdocs-annotation/GroupDocs.Annotation-for-Java · GitHub


This Topic is created by vladimir.litvinchik using Email to Topic tool.

@john.mcqueide

This issue has been fixed in GroupDocs.Annotation. We have planned to publish GroupDocs.Viewer for Java hot-fix release. We’ll update you here when we have the ETA.

1 Like

@john.mcqueide

GroupDocs.Viewer for Java 21.11.1 that includes fix for this issue has been published. The new version can be found at:

Have a nice day!

1 Like