We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Is it possible to disable Cache?

I am running Aspose Imaging (Java version) as an AWS lambda task.In some cases a failure processing an unsupported or invalid image, causes a subsequent valid image to be processed incorrectly.

I believe that this might be caused by some leaks or by the cache … is it possible to force cache not to be used
(I don’t really need it anyway as I process a new image every time) so that every time I start processing an image, it is a brand new environment and there are no side effects from a previous failure?


I have observed the scenario shared by you and regret to share that there is no to option to clear the cache. However, you can call Dispose() method to free up the memory on your end.

Hello is it possible to use a disk only cache … and also is it possible to delete the files before the execution of the program?


Can you please elaborate your requirements as I have not been able to completely understand them.