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
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 GroupDocs.Viewer java.lang.OutOfMemoryError: Java heap space - Free Support Forum - groupdocs.com