Dear Support team,
We’ve been encountering memory leak issues with the Aspose PDF library lately, which have resulted in occasional application failures. Our efforts to pinpoint the root cause have included various diagnostic approaches, including load testing the function responsible for generating PDF files. Through this testing, we’ve confirmed that memory leaks are indeed occurring within the PDF library.
Despite our efforts, we’re unsure how to effectively resolve this issue and would greatly appreciate your support and guidance moving forward. Attached are supporting screenshots for your reference, and please don’t hesitate to let us know if you require further evidence from our end. It’s worth noting that even after the process is completed, the system fails to release memory over an extended period
Aspose_MemoryLeak1.png (351.0 KB)
Aspose_MemoryLeak2.png (296.4 KB)
Aspose_MemoryLeak3.png (361.5 KB)
Aspose_MemoryLeak4.png (413.4 KB)
Aspose_MemoryLeak5.png (335.9 KB)
@rajsingh008
Are you using library version 22.7?
Have you checked how the library version 24.3 works?
Dear sergei,
Thank you for your swift reply. We’re currently utilizing Aspose version 22.7.0. We’re can upgrade the library to version 24.3 based on your recommendation and will inform you of any lingering issues after the upgrade.
Additionally, it would be beneficial if you could clarify whether there are any inherent memory leak issues with the PDF library (22.7.0) and if upgrading to version 24.3 is expected to address them. This information would greatly assist us in making informed decisions regarding the upgrade
@rajsingh008
I recommend you update the library version to 24.3 and try with it. During this time (since 22.7) many edits were made, including those related to memory leaks.
In addition, if the problem is localized, reproduced and the development team is tasked with fixing it, the fix will only be in the new version (the team will not make a fix specifically for version 22.7).
If using the latest version involves licensing restrictions, you can try requesting a temporary license (Temporary License - Purchase - aspose.com).
1 Like
Hi sergei ,
we have created one sample application for Aspose pdf generation with Aspose version 24.3 , still we could see some memory leaks issues. please find the attached screenshots for the same. Herewith i have attached the sample application used for PDF generation. please find the attached sample application for this …
AsposeMemoryLeak_1.png (90.7 KB)
AsposeMemoryLeak_2.png (95.3 KB)
AsposeMemoryLeak_3.png (87.0 KB)
AsposeMemoryLeak_4.png (88.9 KB)
AsposeMemoryLeak_5.png (141.5 KB)
MemoryUsageOnPDFGenerationProcess.png (87.4 KB)
@alanneelan
Thanks for the attached data.
I downloaded the archive you attached, the solution opens in the editor.
Please delete this archive from cloud storage as soon as possible.
@alanneelan
I apologize for the delay - I will look into the issue and write to you on Monday.
@alanneelan
I have reproduced the problem and will create a task for the development team.
@rajsingh008
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): PDFNET-57204
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.
Good day,
A couple months ago we upgraded from 22.1 to 23.10, and instantly brought down our production environment due to memory leakage problems that cascaded throughout our server, blocking other, separate apps.
We are still experiencing some memory issues even though we rolled back to 22.1, but not to the same scale.
We would like to upgrade to the newest version, but from this thread it appears that issue is still not fixed? Is there a way to find out when a new version is released that addresses this memory leakage issue?
Thank you
@KirkLeonard
There is no new information in the tracker, I wrote your concerns and contacted the development team. They have only just begun investigating the problem, and they cannot even provide an ETA yet.
I will write to you if new information appears.
dear sergei, we recently bought paid support to expedite resolution and would like to know how to convert/add/transfer current post into paid support bucket. I can’t see an option to transfer existing post/query into paid bucket. I would really appreciate your help in this matter.
@rajsingh008
The paid support service will raise the priority of the task itself. And they will work on the task with the development team. However, you can ask me about the current priority of the task. At the moment, its priority is High - this is the highest priority that the development team itself can set. It should be expected that in the near future the paid support service will raise the priority of the task to Priority Support.
1 Like
Thank you, Sergei, for your response.
I have one more question regarding the status of my task. I still cannot find the task in my paid support task list. Could you please advise on how to communicate with the paid support team about this issue and how I will be notified once it is resolved? Additionally, do you have any workarounds available to mitigate this issue until the support team provides a proper fix?
@rajsingh008
Currently the priority of the task is also High. I wrote a letter to the head of paid support with a question about this task.
1 Like
@rajsingh008
I received the following explanation from paid support.
Hi Sergei Shibanov, this customer has active Paid Support subscription, however, they did not create any tickets.
You can tell the customer to open a ticket at https://helpdesk.aspose.com/ and mention the ID. We will take it from there.
Good day, We would still love to update our version, as we are running on quite old versions. The last time we updated we broke our production server with expanding memory leaks.
Is this still being worked on?
@KirkLeonard
Task PDFNET-57204 is open.
I will specify your request in the ticket.
Do you have any additional information on the cause of the memory leaks?
The team is working on these issues as well.
For example, the task from topic MemoryLeak when extracting images from PDF - #4 by sergei.shibanov was recently closed.
Important: the priority of the task has not been increased, although you have purchased paid support.
Do this and it will be solved faster, in a higher priority order.
Prior.png (15.6 KB)