XMS2g - cant start phpstorm anymore

I have tried (Windows 11):

- Reinstall PHPstorm

- Removed all cached and associated files (AppData)

- manually setting XMS

This is my vmoptions file:

-Xms128m
-Xmx2048m
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
-XX:+IgnoreUnrecognizedVMOptions
-ea
-Dsun.io.useCanonCaches=false
-Dsun.java2d.metal=true
-Djbr.catch.SIGABRT=true
-Djdk.http.auth.tunneling.disabledSchemes=""
-Djdk.attach.allowAttachSelf=true
-Djdk.module.illegalAccess.silent=true
-Dkotlinx.coroutines.debug=off
-XX:CICompilerCount=2
-XX:ReservedCodeCacheSize=512m
-XX:+UnlockDiagnosticVMOptions
-XX:TieredOldPercentage=100000
 

The complete error is: 

Cannot start the IDE Cannot start the runtime Caused by: Invalid initial heap size: -Xms2g # Increase initial heap size to 2GB (better memory allocation upfront) Please try to reinstall the IDE. For support, please refer to https://jb.gg/ide/critical-startup-errors

Im out of ideas… Where is it getting xms2g from?

0
Could you please double check if it help by removing below directories?

%APPDATA%\JetBrains\<product><version>
%LOCALAPPDATA%\JetBrains\<product><version>
%APPDATA%\JetBrains\<product><version>\plugins
0

请先登录再写评论。