Tune your JVM

Issue

You want to tune your JVM and wonder if there are any standard settings that Adobe recommends.

Solution

AEM (CQ) does not behave differently than any other Java programs out there when it comes to JVM parameters. There is no default setting. Every application built with AEM has different characteristics. Each could require modification and observation until you find the optimum values for your JVM.

  • If you are getting out-of-memory errors, either add memory or make that there isn't a memory leak. If there is a memory leak, use -XX:-HeapDumpOnOutOfMemoryError to get a heap dump and analyze it to find the root cause. You can use any heap dump analyzers, such as sap memory analyzer, yourkit profiler, or eclipse memory analyzer.
  • Turn on garbage collection logs to understand the behavior of your application's memory usage.

Make sure that you look at the available JVM options from your JVM vendor. For Java sun, it's here: http://java.sun.com/javase/technologies/hotspot/vmoptions.jsp. And on the Internet, there are plenty of articles on tuning JVM; most of which are applicable to any Java program.

 Adobe

更快、更轻松地获得帮助

新用户?

Adobe MAX 2024

Adobe MAX
创意大会

10 月 14 日至 16 日迈阿密海滩及线上

Adobe MAX

创意大会

10 月 14 日至 16 日迈阿密海滩及线上

Adobe MAX 2024

Adobe MAX
创意大会

10 月 14 日至 16 日迈阿密海滩及线上

Adobe MAX

创意大会

10 月 14 日至 16 日迈阿密海滩及线上