phpstorm10 ,編輯一個檔案時,在檔案中複製了40w行的數據,然後phpstorm彈出記憶體配置介面,要求提升記憶體限制,將-Xmx512m設定為2048,然後選擇了dump memory ,之後選擇了shutdown ,關閉掉了phpstorm,然後phpstorm就不能打開了,運行環境是win7,然後從命令行打開phpstorm的啟動腳本phpstorm.bat,提示Error occurred during initialization of VM,Could not reserve enough space 2097152KB(2048M) object heap ,修改了phpstorm的啟動設定檔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
設定檔預設是這樣的,重裝了phpstorm,換了安裝路徑也不起作用,點擊phpstorm圖示啟動無反應
phpstorm10 ,編輯一個文件時,在文件中複製了40w行的數據,然後phpstorm彈出內存配置界面,要求提升內存限制,將-Xmx512m設置為2048,然後選擇了dump memory ,之後選擇了shutdown,關閉掉了phpstorm,然後phpstorm就不能打開了,運行環境是win7,然後從命令列打開phpstorm的啟動腳本phpstorm.bat,提示Error occurred during initialization of VM,Could not reserve enough space 2097152KB(2048M) object 修改了phpstorm的啟動設定檔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設定檔預設是這樣的,重裝了phpstorm,換了安裝路徑也不起作用,點擊phpstorm圖示啟動無反應🎜