Showing results for 
Search instead for 
Did you mean: 

Dispatcher can not start with Exitcode -2 WHY?

Former Member
0 Kudos

Hi all ,

My dispather in my J2ee server cann't start with the Exitcode -2 and the Errors following:

Error occurred during initialization of VM

Incompatible initial and maximum heap sizes specified

[Thr 7156] JLaunchIAbortJava: abort hook is called

[Thr 7156] **********************************************************************

      • ERROR => The Java VM aborted unexpectedly.

      • Please see SAP Note 943602 , section 'Java VM crashes'

      • for additional information and trouble shooting.


[Thr 7156] JLaunchCloseProgram: good bye (exitcode = -2)

(the jdk path in VM properties file is crrect)

Anybody know what's the problem?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos


According to me its issue with Virtual memory sizing.

Idealyy it should be 8GB + RAM and again its depends on environment.

Also check the swap space on the system. How much swap size is free.

Reward the point if issue solved.


Rohit Mehta

Former Member
0 Kudos

Hi Rohit

I have solve the problem and thank u very much!

Answers (1)

Answers (1)

Former Member
0 Kudos

Have your JVM parameters set as per note 723909