Issue Upgrading Aspose PDF 18.9 to 22.9

Hi, When trying to Upgrade from Aspose 18.9 to 22.9 I am getting out of memory error.
this code works fine on 18.9. 18.10 and 18.11. can you please help on this ?

java.lang.OutOfMemoryError: GC overhead limit exceeded

at java.lang.Integer.valueOf(Integer.java:832)
at com.aspose.pdf.internal.l2l.lh.lj(Unknown Source)
at com.aspose.pdf.internal.l7if.l1j.l3y(Unknown Source)
at com.aspose.pdf.Page.l0y(Unknown Source)
at com.aspose.pdf.Page.getNumber(Unknown Source)
at com.aspose.pdf.Page.lI(Unknown Source)
at com.aspose.pdf.Page.lf(Unknown Source)
at com.aspose.pdf.Page.lc(Unknown Source)
at com.aspose.pdf.ADocument.processParagraphs(Unknown Source)
at com.aspose.pdf.Document.processParagraphs(Unknown Source)
at com.americanpg.pdf.services.common.document.rendering.drivers.impl.AsposeDriver.finalizeDocument(AsposeDriver.java:191)
at com.americanpg.pdf.services.common.document.rendering.drivers.impl.AsposeDriver.renderDocument(AsposeDriver.java:138)
at com.americanpg.pdf.services.common.document.rendering.drivers.impl.AsposeDriver.generate(AsposeDriver.java:79)
at com.americanpg.pdf.services.common.document.rendering.impl.RenderManagerImpl.render(RenderManagerImpl.java:62)
at com.americanpg.pdf.services.common.document.rendering.impl.RenderManagerImpl.render(RenderManagerImpl.java:52)
at com.americanpg.pdf.services.test.TaxCertificateTests.generatePdf(TaxCertificateTests.java:747)
at com.americanpg.pdf.services.test.TaxCertificateTests.op03GenerateMultiAccountTaxCertPdf(TaxCertificateTests.java:294)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)

@asiddiqui,

Can you attach the code?

Also, before everything, why not use the latest version, 23.2, and check if it still fails there?

I tried, and any upgrade to 23.X does not compile.

@asiddiqui,

That sounds like a system issue then. Since if that was really the case the forums would be flooded with people mention that issue.

If I need help form one of your experts, to look into this issue . What is the process.

Thank you

@asiddiqui,

The first step is to share the code so we can determine if it is an issue with our API, then we create a bug to fix it or if it is an issue in your code. In the latter scenario, sadly, we do not provide support for those issues.