Home >Backend Development >PHP Tutorial >phpsotrm cannot be opened
phpstorm10, when editing a file, 400,000 lines of data were copied in the file, and then phpstorm popped up the memory configuration interface, asking to increase the memory limit, set -Xmx512m to 2048, then selected dump memory, and then selected shutdown , closed phpstorm, and then phpstorm cannot be opened. The running environment is win7, and then open the phpstorm startup script phpstorm.bat from the command line, prompting Error occurred during initialization of VM, Could not reserve enough space 2097152KB (2048M) object heap , modified the phpstorm startup configuration file phpstorm.exe.vmoptions,
-server -Xms128m -Xmx512m -XX:ReservedCodeCacheSize=240m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow
The default configuration file is like this, reinstalled phpstorm, changed the installation path, it does not work, click the phpstorm icon to start no response
phpstorm10, when editing a file, copied 400,000 lines of data in the file, and then phpstorm popped up the memory configuration interface, asking to increase the memory limit, set -Xmx512m to 2048, then selected dump memory, and then selected shutdown to close it. After installing phpstorm, phpstorm cannot be opened. The running environment is win7, and then open the phpstorm startup script phpstorm.bat from the command line, prompting Error occurred during initialization of VM, Could not reserve enough space 2097152KB (2048M) object heap, modified The startup configuration file of phpstorm is phpstorm.exe.vmoptions,
-server -Xms128m -Xmx512m -XX:ReservedCodeCacheSize=240m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow
The default configuration file is like this. After reinstalling phpstorm and changing the installation path, it does not work. Clicking the phpstorm icon to start has no response