SOA Suite 11g: Unable to start domain (Error occurred during initialization of VM)

If you have recently installed SOA Suite, created a domain and then tried to start it only to find it fails with the error:

Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.

the solution is to edit the file <domain home>\bin\setSOADomainEnv.cmd/sh (depending on your platform) and modify the line:

set DEFAULT_MEM_ARGS=-Xms512m -Xmx1024m

to something like:

set DEFAULT_MEM_ARGS=-Xms512m -Xmx768m

Save the file and then try to start your domain again. Everything should now work at least it does on the Dell Latitude 630 laptop with 4Gb RAM that I have.

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

UK Pre-Sales consultant specialising in business integration.

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today