Home > Backend Development > PHP Tutorial > phpsotrm cannot be opened

phpsotrm cannot be opened

不言
Release: 2023-03-01 08:46:01
Original
1737 people have browsed it


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
Copy after login

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

Reply content:

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
Copy after login

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

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template