Hello,
We work for a company which uses both Aspose PDF and Words for Java in developed web applications. The current versions we use are:
![]()
Our servers run SUSE Linux Enterprise Server 11 (x86_64) (4 CPU + 16GB RAM), JDK 1.7.0_45, with Tomcat 7.0.29.
The current JVM parameters are the following:
$JAVA_OPTS -D64 -Xmx12G \
-Dfile.encoding=UTF8 -Dorg.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES=false \
-XX:MaxPermSize=1G \
-Djava.security.auth.login.config=/srv/support/gssapi.conf \
-Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.port=5000 \
-Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false \
-Dorg.apache.el.parser.COERCE_TO_ZERO=false \
-Djava.library.path=/srv/apache-apr-1.4.6/lib
Could you please help us with this issue, recommending us witch version of Aspose is the most stable for production environment and which JVM Opts are the best for heavy use of Aspose PDF and Aspose Words in web apps.
Thank you in advance.
We work for a company which uses both Aspose PDF and Words for Java in developed web applications. The current versions we use are:
- Aspose PDF 9.7.0
- Aspose Words 14.9.0
We have detected many problems in our servers which many threads of Aspose Pdf (and some of Aspose Words) get stuck while working with documents. These problems appears when users work with documents at same time, so we cannot attatch the "problematic" documents. These threads never ends and stay running consuming CPU until we kill the java process.
Here is an snapshot of Java Mission Control when these problems appear, threads with the highest cpu usage (Total CPU Usage) are the ones using Aspose and it consumes lots of memory as you can see in column Allocated Bytes, and you can see that the stack trace occurs on Aspose code:
Our servers run SUSE Linux Enterprise Server 11 (x86_64) (4 CPU + 16GB RAM), JDK 1.7.0_45, with Tomcat 7.0.29.
The current JVM parameters are the following:
$JAVA_OPTS -D64 -Xmx12G \
-Dfile.encoding=UTF8 -Dorg.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES=false \
-XX:MaxPermSize=1G \
-Djava.security.auth.login.config=/srv/support/gssapi.conf \
-Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.port=5000 \
-Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false \
-Dorg.apache.el.parser.COERCE_TO_ZERO=false \
-Djava.library.path=/srv/apache-apr-1.4.6/lib
Could you please help us with this issue, recommending us witch version of Aspose is the most stable for production environment and which JVM Opts are the best for heavy use of Aspose PDF and Aspose Words in web apps.
Thank you in advance.