Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

AEM debugger

Avatar

Level 2

If we start AEM server in debugger mode what will happen? Will it fork a child process or not?

1 Accepted Solution

Avatar

Correct answer by
Administrator

If you debug on a specific port JVM will be forced to fork!

     If you run java -jar << AEM >>.jar --help on the jar file you get the following:

     -debug << port >> <br/>

     Enable Java Debugging on port number; forces forking.

To prevent forking, use -nofork command line option with high memory size.

~kautuk



Kautuk Sahni

View solution in original post

2 Replies

Avatar

Correct answer by
Administrator

If you debug on a specific port JVM will be forced to fork!

     If you run java -jar << AEM >>.jar --help on the jar file you get the following:

     -debug << port >> <br/>

     Enable Java Debugging on port number; forces forking.

To prevent forking, use -nofork command line option with high memory size.

~kautuk



Kautuk Sahni