We're sorry GroupDocsApp doesn't work properply without JavaScript enabled.

Free Support Forum - groupdocs.app

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: https://github.com/groupdocs-viewer/GroupDocs.Viewer-for-Java
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: https://github.com/groupdocs-annotation/GroupDocs.Annotation-for-Java/issues/50
Files:
154601E2120E - 0.pdf (1.8 MB)
154601E2163 - C.pdf (1.2 MB)
A3E021061A001 - 3.pdf (3.8 MB)
H20993G002D -.pdf (3.1 MB)
M12175CP884E -.pdf (2.2 MB)

@john.mcqueide

This topic has been moved to https://forum.groupdocs.com/t/groupdocs-viewer-java-lang-outofmemoryerror-java-heap-space/10585