Set up Jasperserver pro with SQL Server

0

Hi,

I am trying to set up Jaspserver pro by building the source code with SQL Server as back end. While running the import-minimal-pro command, I am getting the following error.

[java] Error: Could not create the Java Virtual Machine.
[java] Error: A fatal exception has occurred. Program will exit.
[java] Error occurred during initialization of VM
[java] Could not reserve enough space for object heap

Have anyone faced such an issue? If so, please suggest a solution.

 

sreekanthjnayar's picture
Joined: May 7 2014 - 6:24am
Last seen: 3 years 2 months ago

2 Answers:

0

Please increase the heap size specified for JVM. using -XX:MaxHeapSize.

Refer to:

http://stackoverflow.com/questions/4401396/could-not-reserve-enough-spac...

nthapa's picture
463
Joined: Jan 24 2014 - 9:53am
Last seen: 3 years 1 month ago
0

Hi,

I got it working, the issue seems to be related to java bit version. I am using a 64-bit machine, but my Java was a 32-bit version. Removed the 32 bit and installed the 64 bit version and the import worked properly.

sreekanthjnayar's picture
Joined: May 7 2014 - 6:24am
Last seen: 3 years 2 months ago
Feedback