manage assigned memory size in Anylogic

244 Views Asked by At

for increasing the heap size for Anylogic I have followed the method explained here but it just work for 1.5G of ram. my operating system is Windows 10 (64bit) and JVM is 1.8.0_281 (64bit). when I change the AnyLogic.ini file manually (for example changing -Xmx to 2048M), and try to run Anylogic, I face this error: "fail to create java virtual machine".

I would be appreciate if you help me to solve this problem, because it's essential.

1

There are 1 best solutions below

1
On

Try to delete the ".AnyLogicProfessional" folder in your Windows home folder. Depending on your version, it could also be named ".AnyLogicUniversity" or similar.

Note: you must change the folder view options in Windows to see hidden folders.

Restart AnyLogic after that and it should work.