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

Free Support Forum - aspose.com

Dispose TextAbsorber Object

Hi,


I’ve an issue similar to How to limit memory usage when extracting text from large PDFs?.

We are extracting text from many pdf files. TextAbsorber does not leave the memory it used. Is there any way to dispose TextAbsorber, except calling Garbage Collector?

Thanks,

Hi Huseyin,


Thanks for your inquiry. I am afraid TextAbsorber does not implement IDisposable so currently Garbage collector is only option for memory management. We have already logged a similar request PDFNEWNET-35329 in our issue tracking system. I have linked your query to the issue Id and will notify you as soon as it is resolved.

We are sorry for the inconvenience caused.

Best Regards,

Hi, any updates on this issue?, we are facing the same behavior. It would be great to be able to clean the textabsorver content and always use the same instance

@okapii

The earlier logged ticket is currently under the phase of investigation. Please note that it is a complex feature and could take significant amount of time to get fully implemented. We have however recorded your concerns and will surely update you once the ticket is resolved. Please give us some time.

We apologize for the inconvenience.