Problem
[Simplified Chinese]在启动IBM Rational Software Architect时,Java Virtual Machine Launcher报错:“不能创建Java虚拟机”。
Symptom
在启动IBM Rational Software Architect时报错:
Cause
Java虚拟机使用-Xmx开关来指定Java虚拟机的最大堆内存大小,这个问题的可能原因是在当前环境中eclipse.ini文件中-Xmx开关的值设置得太大。
Resolving The Problem
该问题有两种可能的解决方法:在文件eclipse.ini中删掉以-Xmx开始的行。
请注意:eclipse.ini的文件目录是RSA的安装目录,缺省安装目录是:C:\Program Files\IBM\SDP\
减少eclipse.ini中-Xmx开关的值
在RSA 7.5.X中-Xmx开关的缺省值是1024m,逐步减少该值,直到RSA能够正常启动(一般该值是928m)。
例如,将-Xmx1024m改成-Xmx928m
因为-Xmx开关值设置得太小的话,会影响RSA的运行性能,所以应该将该值设置成刚好能够成功启动RSA以获得最好的性能。
请注意:eclipse.ini的文件目录是RSA的安装目录,缺省安装目录是:C:\Program Files\IBM\SDP\
[{"Product":{"code":"SS4JCV","label":"Rational Software Architect for WebSphere Software"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Eclipse","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.5;7.5.1;7.5.2","Edition":"","Line of Business":{"code":"LOB15","label":"Integration"}},{"Product":{"code":"SS4JE2","label":"Rational Software Architect Standard Edition"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Eclipse","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.5;7.5.1;7.5.2","Edition":"","Line of Business":{"code":"LOB15","label":"Integration"}},{"Product":{"code":"SS5JSH","label":"Rational Software Architect RealTime Edition"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Eclipse","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.5.2","Edition":"","Line of Business":{"code":"","label":""}},{"Product":{"code":"SSCLKU","label":"Rational Software Modeler"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Eclipse","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.0;7.0.0.1;7.0.0.2;7.0.0.3;7.0.0.4;7.0.5;7.0.5.1;7.0.5.2;7.0.5.3;7.5;7.5.1;7.5.2","Edition":"","Line of Business":{"code":"LOB15","label":"Integration"}},{"Product":{"code":"SSJP3D","label":"Rational Systems Developer"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Eclipse","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.0;7.0.0.1;7.0.0.2;7.0.0.3;7.0.0.4;7.0.5;7.0.5.1;7.0.5.2;7.0.5.3","Edition":"","Line of Business":{"code":"LOB15","label":"Integration"}},{"Product":{"code":"SSYK2S","label":"Rational Software Architect Designer"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Eclipse","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.0;7.0.0.1;7.0.0.10;7.0.0.2;7.0.0.3;7.0.0.4;7.0.0.5;7.0.0.6;7.0.0.7;7.0.0.8;7.0.0.9","Edition":"","Line of Business":{"code":"LOB15","label":"Integration"}}]