PdfJavaScriptStripper OutOfMemoryException

Hi

I running this code
Aspose.Pdf.Facades.PdfJavaScriptStripper pdfJavaScriptStripper = new Aspose.Pdf.Facades.PdfJavaScriptStripper();
pdfJavaScriptStripper.Strip(inputFilename, outputFilename);

my PDF file is 20M size ( I also have 70M file)

I’m getting outOfMemory exception.
How can I handle this?

@yaronz

Please make sure that you are using the latest version of the API i.e. 24.8 and in x64 architecture. In case issue still happens, please share your sample PDF with us so that we can test the scenario in our environment and address it accordingly.