Set up Jasperserver pro with SQL Server

Jaspersoft Community 'Read-Only' as of July 8, 2022

Transition to New TIBCO Community Just Weeks Away

You can still search, review wiki content, and review discussions in read-only mode. Please email community@tibco.com with questions or issues requiring TIBCO review or response.

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: 6 years 2 months ago

2 Answers:

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
953
Joined: Jan 24 2014 - 9:53am
Last seen: 6 years 1 month ago

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: 6 years 2 months ago
Feedback
randomness