best grammar app

Savvion Error - "Could not reserve enough space for object heap"

Submitted by Abhishek on Thu, 2011-12-29 18:51
savvion

Have you ever encountered the following error after installing Savvion -

Error occured during initialization of VM

could not reserve enough space for object heap

Could not create the Java virtual Machine

Well, I did. I was installing Savvion Business Manager 7.x over Pramati and Oracle. After installation and runnig the DB Configuration script (If you need help in step by step installation check out the video series How to Install Savvion) I started getting the above error when I tried to start the server.

 

I started checking out the memory configuration settings and realized that savvion is already allocating 1024M Xms memory then why is the error coming?

I thought may be I had less memory. I had 2 GB RAM on the machine. I Added 2 GB More. Still the same error!

After a few hours of checking out I realized that while installing Oracle, Oracle had added an entry for JDK 1.4 in my classpath because of which the java command was calling the version 4.0 java and not able to allocate memory. This is strange since Savvion ships a 1.6 JDK along with the product and references it in the classpath as well!

 

Even after removing it from classpath, I would still get the same error!

The next try that I did was install a version 6 JDK on my machine. Fortunately it worked.

Installing a JDK 6 again fixes the problem.

The roort cause analysis seems to be that the older Java 4 probably had some registry entires which were conflicting. On installing JDK 6.0 those got overwritten and memory management worked.

Hope this is helpul for someone.


Abhishek Mishra
Good experience in working with BPM technologies like Savvion, JBPM. Founder and Chief Editor of BPMGeek.com. Founder of Savvion Business Manager Mobility Framework Savmobify| View my BPMGeek Profile
|
best grammar app

About BPMGeek

BPMGeek is an initiative to collaborate and communicate with the growing Business process management community out there. The goal is to help developers connect with experts, ask questions, post their learning and get understanding of BPM Concepts. Often tool specific knowledge of niche areas end up developers perplexed and confused - especially when there are very less number of resources available. We will be coming up several several new features. Have a look at our Roadmap here

BPMGeek is an independent entity not associated with any Product. All BPM product professionals are invited to contribute. The Logos and Names used across the site belong to their respective owners. The viewpoints mentioned by Individual contributors are their own. BPMgeek cannot be held liable for any issues arising out of it.


BPMgeek is promoting the Nounshoun English Grammar App - developed by Constellation Software.