VM could not reserve enough space for object heap – from Oracle jDeveloper11g

Tags:
JDeveloper
Oracle
Oracle JDeveloper 11g
VM
I am using oracle jdeveloper11g, and when I run any program the following error occurs: Error occurred during initialization of VM Could not reserve enough space for object heap What do I do?
ASKED: May 18, 2009  5:00 PM
UPDATED: June 5, 2012  10:13 AM

Answer Wiki

Thanks. We'll let you know when a new response is added.

From the <a href=”http://www.oracle.com/technology/products/jdev/htdocs/11g/knownissues.html#gi3″>JDevelopr 11g known issues page</a>:

Under certain circumstances, if you do not have enough free memory available, you may receive an error when running an application:

Error occurred during initialization of VM
Could not reserve enough space for object heap

Normally you would resolve this by adding -Xms and -Xmx arguments to the project’s Run/Debug profile. However, there are existing entries for these settings in the WebLogic startup that will override the project’s settings. The proper way to resolve this error is to add EXTRA_JAVA_PROPERTIES to your environment, as follows:

On Linux
setenv EXTRA_JAVA_PROPERTIES “-Xms512m -Xmx512m”

On Windows
set EXTRA_JAVA_PROPERTIES=”-Xms512m -Xmx512m”

Let us know if this helps.

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Shaduwar
    it didnt work cmd accepted it as a command but i still get the same error from it. help plox??
    10 pointsBadges:
    report
  • Priank
    Yesterday it worked for me, however today this isn't.
    10 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following