phpsotrm無法開啟

來源:互聯網
上載者:User
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 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表徵圖啟動無反應

  • 聯繫我們

    該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

    如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.