We are experiencing significant memory management issues while using Aspose.PDF with Python during the watermarking process. Specifically, memory usage increases substantially during the process, and a considerable portion of this memory is not released upon completion. This results in persistently high memory consumption, which adversely impacts the application’s performance. Additionally, when memory usage reaches a critical threshold, it causes the pod to restart, leading to further disruptions. This issue necessitates an effective solution to optimize memory usage and ensure the stability of the application.
Environment : MK8s (Kubernetes)
Aspose.pdf : 24.5.0