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)