Hi @Atir_Tahir,
Continuing on this topic… we deployed our application in PROD environment including groupdocs conversion (java, v. 21.10) and observed that with increasing number of user requests we encountered a gradual increase in number of Out Of Memory events (OOM) on our running pods.
The OOM is caused by groupdocs conversion is mostly when we try to converts a large xlsx file (4MB) to pdf.
This is now resulting slowdown in running other services in the environment and causing different issues like Broken-Pipe, Timeouts and ultimately Service Not Available.
We have tried increasing each Pod’s Heap Size memory to 3GB however, seems this is also not sufficient for a 4MB xlsx file. It seems if we further increase the memory size, it could not be sufficient for say 6MB file. As a reference, we have attached a sample file which we have tested in our Test environment which was causing the same issues.
filterchoosecriteriacolumns.zip (3.6 MB)
Since we cannot show the complete logs, below mentioned are the log trace fragment:
org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is java.lang.OutOfMemoryError: Java heap space
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1055)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:626)
.
.
.
.
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.OutOfMemoryError: Java heap space
at com.groupdocs.conversion.internal.c.a.c.b.a.d.h.b(Unknown Source)
at com.groupdocs.conversion.internal.c.a.c.b.a.d.h.c(Unknown Source)
at com.groupdocs.conversion.internal.c.a.c.b.a.d.h.a_(Unknown Source)
at com.groupdocs.conversion.internal.c.a.c.a.b.cw.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.c.a.b.cw.b(Unknown Source)
at com.groupdocs.conversion.internal.c.a.c.a.b.cn.c(Unknown Source)
at com.groupdocs.conversion.internal.c.a.c.a.b.ca.b(Unknown Source)
at com.groupdocs.conversion.internal.c.a.c.a.b.ca.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.c.a.b.dC.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.c.a.b.aD.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.c.a.b.dz.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.c.a.b.aD.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.c.a.b.dy.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.c.a.b.bJ.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.c.a.b.bY.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.c.a.b.bY.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.c.a.b.cd.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.c.a.b.ac.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.c.a.b.aD.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.c.a.b.ac.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.c.a.b.aD.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.c.a.b.ac.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.c.a.b.aD.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.c.a.b.ac.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.c.a.b.aD.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.c.a.b.dx.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.c.zbf.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.c.a.b.cd.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.c.zcjt.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.c.zcjt.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.c.zcjt.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.c.zkb.a(Unknown Source)
Request if you could check the same at your end with the sample attached file. Please take this on priority basis as this is now impacting at our end. Furthermore, it would be great if you can confirm there is no memory leaks within the file conversion process.
Thank you
Rajesh Chourasiya