Out of Memory

I am using the project publisher, and now I am getting an out of memory exception. I assume this is because our project is of a considerable size at this point. Does anyone know how to increase the maximum JVM heap size in VP-UML or how to run it from the command line?

Hello Nimrand,

Please run the script below inside $vp-suite-install-dir/bin. I believe _Xmx1024m is enough for you.

..\jre\bin\java -Xms128m -Xmx1024m -cp ".;..\lib\vpplatform.jar;..\lib\jniwrap.jar;..\lib\jhall.jar;..\lib\vpuml-help.jar;..\lib\winpack.jar;..\lib\vpupdate.jar;..\lib\openapi.jar;..\ormlib\orm.jar;..\lib\jh.jar;..\lib\lib01.jar;..\lib\lib02.jar;..\lib\lib03.jar;..\lib\lib04.jar;..\lib\lib05.jar;..\lib\lib06.jar;..\lib\lib07.jar;..\lib\lib08.jar;..\lib\lib09.jar;..\lib\lib10.jar" RV

Please let me know if it works.

Best regards,
Jick