Adobe Experience Manager
To kill the AEM process, first find its pid:
ps -ef | grep java
For example, pid could be 9047. Kill it:
kill -9 9047
For more details on the AEM process:
ps aux | grep java
To start the Java AEM the first time, with enough memory on Mac, run:
/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/bin/java -Xmx2048m -XX:MaxPermSize=256m -jar cq-author-p4502.jar
java -Xmx2048m -XX:MaxPermSize=256m -jar cq-author-p4502.jar
After this initial run of AEM, all subsequent startups are done with either:
quickstart offer an on/off button, whereas start doesn't.
In the script, it's a good idea to give a good amount of memory to these processes:
# default JVM options CQ_JVM_OPTS='-server -Xmx2048m -XX:MaxPermSize=256M'
Follow the error log from Java AEM
In directory author/crx-quickstart/logs
Press Cmd G to go to the bottom of the log (Ground) and Cmd F to follow it as new lines are logged.