I have a problem that on my PC android studio are laging. It's not the newest a notebok but I have 8gb RAM. I try to increase memory to android studio by editing files: android-studio\bin\studio.exe.vmoptions and android-studio\bin\studio64.exe.vmoptions but it dosen't help me (allocate heap size dosen't change - it's 445M).
My example studio64.exe.vmoptions is:
-Xms128m
-Xmx2048m
-XX:MaxPermSize=1024m
-XX:ReservedCodeCacheSize=200m
-XX:+UseCompressedOops
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-Djna.nosys=true
-Djna.boot.library.path=
-XX:MaxJavaStackTraceDepth=-1
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
-ea
Do you know whhy heap size dosen't change (of course after restart android studio)