i am getting java.lang.OutOfMemoryError: Java heap space
when trying to resize a 5 MB image (attached).
My maximum java heap size is 2 GB.
my code is:
Image image = Image.load("C:\\Users\\Gil\\workspace\\Aspose\\image\\photo.jpg");
image.resize(image.getWidth()/2, image.getHeight()/2, ResizeType.NearestNeighbourResample);
image.save("C:\\Users\\Gil\\workspace\\Aspose\\image\\photoResized.jpg");
Is there a solution for that?
Hi Gil,
Thank you for bringing this issue to our knowledge.
Unfortunately, we were unable to find a way to process your provided sample image with Aspose.Imaging for Java 2.1.0, therefore we have logged this problem in our bug tracking system under the ticket IMAGING-34241 for further investigation. Please spare us little time to properly analyze the problem cause on our end. In the meanwhile, we will keep you posted with updates in this regard.
The issues you have found earlier (filed as IMAGING-34241) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.
The issues you have found earlier (filed as ) have been fixed in this Aspose.Words for JasperReports 18.3 update.