Skip to Content
author's profile photo Former Member
Former Member

Hybris Server startup fails when launching JVM(version 5.4)

Hello:

I'm running the command "hybrisserver" in bin\platform and get the following error:

Launching a JVM... Error occurred during initialization of VM Could not reserve enough space for object heap Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. JVM exited while loading the application. Reloading Wrapper configuration...

My computer has 8GB memory & running Windows 7 enterprise. Please advise if I need to change any setting . Thanks for your help!

Kiran

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 15, 2014 at 11:28 PM

    Hi Kiran, For this error first you need to define memory limit for hybris server and ee as well. For Ee you need to define memory limit(-Xmx512m) in ee.ini so that ee can use only that memory. Apart from that you need to do same for hybris. So for hybris you can follow the link: https://wiki.hybris.com/pages/viewpage.action?spaceKey=forum&title=Getting+java.lang.OutOfMemoryError+Java+heap+space+while+starting+hybris+server&focusedCommentId=174721834

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 16, 2014 at 03:12 PM

    Hi Kiran,

    are you using a 32Bit or 64Bit JVM? I think you should try a 64Bit JVM.

    I think this page could also help you: https://answers.sap.com/questions/12750367/could-not-reserve-enough-space-for-object-heap-dur.html

    Best, Christopher

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.