I have pptx files which can’t convert. When I create object Presentation(“path to file”); I get exception:
Exception in thread “main” java.lang.OutOfMemoryError: GC overhead limit exceeded
at com.aspose.slides.internal.hb.case$do$do.do(Unknown Source)
at com.aspose.slides.internal.hb.case$do$do.do(Unknown Source)
at com.aspose.slides.internal.hb.case$do$do.do(Unknown Source)
at com.aspose.slides.internal.hb.case$do$do.do(Unknown Source)
at com.aspose.slides.internal.hb.case$do$do.do(Unknown Source)
at com.aspose.slides.internal.hb.case$do$do.do(Unknown Source)
at com.aspose.slides.internal.hb.case$do.do(Unknown Source)
at com.aspose.slides.internal.hb.case.(Unknown Source)
at com.aspose.slides.internal.hb.byte.do(Unknown Source)
at com.aspose.slides.internal.hb.byte.(Unknown Source)
at com.aspose.slides.internal.hb.byte.(Unknown Source)
at com.aspose.slides.internal.hh.int.do(Unknown Source)
at com.aspose.slides.internal.hv.do.do(Unknown Source)
at com.aspose.slides.internal.gz.for.do(Unknown Source)
at com.aspose.slides.internal.gz.for.getNumImages(Unknown Source)
at com.aspose.slides.internal.fy.do.if(Unknown Source)
at com.aspose.slides.internal.fy.do.do(Unknown Source)
at com.aspose.slides.internal.fy.do.try(Unknown Source)
at com.aspose.slides.internal.ez.if.do(Unknown Source)
at com.aspose.slides.internal.ez.if.(Unknown Source)
at com.aspose.slides.internal.ez.if.(Unknown Source)
at com.aspose.slides.internal.ez.class.do(Unknown Source)
at com.aspose.slides.internal.ez.class.do(Unknown Source)
at com.aspose.slides.internal.ez.class.do(Unknown Source)
at com.aspose.slides.ImageCollection.do(Unknown Source)
at com.aspose.slides.afq.new(Unknown Source)
at com.aspose.slides.afq.do(Unknown Source)
at com.aspose.slides.afr.if(Unknown Source)
at com.aspose.slides.afr.do(Unknown Source)
at com.aspose.slides.Presentation.if(Unknown Source)
at com.aspose.slides.Presentation.do(Unknown Source)
at com.aspose.slides.Presentation.do(Unknown Source)
My environment:
aspose-slides-20.06-jdk16 or aspose-slides-20.04-jdk16
java version “1.8.0_102”
Java™ SE Runtime Environment (build 1.8.0_102-b14)
Java HotSpot™ 64-Bit Server VM (build 25.102-b14, mixed mode)
Test project with ppxt file: