Whenever you experience performance issues in Zend Studio, such as:
- 100% CPU usage constantly for a long time,
- user interface freezing and being unresponsive,
- any workspace operation that hangs for a long time in progress bar,
1. Use JMAP. It is included in Java Development Kit (JDK). If you have <JDK>/bin added to your path, it should be enough to execute:
- Code: Select all
jmap -dump:live,file=<dump_name>.hprof,format=b <Zend_Studio_pid>
- Code: Select all
"%JAVA_HOME%/bin/jmap.exe" -dump:format=b,file=<dump_name>.hprof <Zend_Studio_pid>
It is recommended to repeat this operation in a minute and to save the result to another file.
2. If for any reason JMAP doesn’t work for you (or you don’t have JDK and don’t want to install it), you can start your Zend Studio with the '-consoleLog' argument.
On Windows:
- Code: Select all
ZendStudio.exe -consoleLog
Note, you may need to increase your console buffer size in advance, so that you can see and copy the entire dump output.
On Linux or OSX launch Zend Studio from a terminal window:
- Code: Select all
./ZendStudio -consoleLog
- Code: Select all
/Applications/Zend Studio.app/Contents/MacOS/ZendStudio -consoleLog
It is recommended to repeat this operation in a minute and to save the result to another file.
3. When reporting a problem please remember to include the following information:
- Steps to reproduce.
- Example file that is causing problem (if possible).
- What was the CPU usage? Constantly high at 100% or idle?
- Was the memory usage growing?
- Attach the ZIP archive generated by Help | Support Tool
Thank you for your cooperation!
Zend Studio Team

