Friday, 8 June 2012

Error Starting Weblogic Admin Server: Could not reserve enough spacefor object heap

Error

"Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine. "


Reason for this error is when we make changes memory variable and assign more memory and we don't have enough memory available... server startup is failed with this error.

Solution

You can remove this error while decreasing heap size in setSOADomainEnvt.cmd

%ORACLE_HOME%\user_projects\domains\DOMAIN\BIN\setSOADomainEnvt.cmd

set DEFAULT_MEM_ARGS=-Xms512m -Xmx1024m
set PORT_MEM_ARGS=-Xms768m -Xmx1536m
set DEFAULT_MEM_ARGS=%DEFAULT_MEM_ARGS% -XX:PermSize=128m -XX:MaxPermSize=512m
set PORT_MEM_ARGS=%PORT_MEM_ARGS% -XX:PermSize=256m -XX:MaxPermSize=512m

57 comments:

  1. REALLY REALLY REALLY REALLY REALLY REALLY Thank you. It's working......... :)

    ReplyDelete
  2. Can anyone of you please send the exact values need to set DEFAULT_MEM_ARGS to run Weblogic Admin Server and I am using 32 bit JAVA 1.7version

    ReplyDelete
  3. Santosh,

    exact values for your environment cant be quoted.. as this is the memory parameters... if you're using 2 GB ram use the default one otherwise update them according to your needs.

    Regards,
    Aysha

    ReplyDelete
  4. Thanks Boss..Working fine now

    ReplyDelete
  5. i am using 16gb ram,64 bit jdk 1.7 , any idea about the settings .

    ReplyDelete
    Replies
    1. Are you facing same error with default settings? try out with the given settings and it still it doesn't work let me know.

      Delete
  6. I had the same problem with my local environment, So i changed the values of setDomainEnv.cmd. This worked for me for some time and again had the same problem.
    I solved this task reinstating the local environment, changing the default of my jdk this path : C:\Oracle_home\Middleware\jdk160_29 to this path : C:\JRockit\jrockit-jdk1.6.0_33-R28.2.4-4.1.0 this depends of the path where you have installed the jdk in you local machine.

    ReplyDelete
  7. ERPTREE Offering Oracle fusion HCM online training, Oracle Fusion SCM Online Training, Oracle fusion financials online
    training, Oracle fusion hcm training, Oracle fusion scm training, Oracle fusion financials training, Oracle fusion dba online training in Hyderabad, Bangalore,Gurgon, Noida, India, Dubai, UAE, USA, Kuwait, UK, Singapore, Saudi Arabia, Canada,
    Delhi, Chennai, Kolkata, Pune, Mumbai, Ahmedabad.


    Oracle Fusion HCM Training

    ReplyDelete
  8. Great post!I am actually getting ready to across this information,i am very happy to this commands.Also great blog here with all of the valuable information you have.Well done,its a great knowledge.
    Weblogic Training in Chennai

    ReplyDelete
  9. The solution I found was: Search the setDomainEnv file and update the following set JAVA_HOME="place your jdk path"

    if "%JAVA_VENDOR%"=="Oracle" (
    set JAVA_HOME=%BEA_JAVA_HOME%
    ) else (
    if "%JAVA_VENDOR%"=="Sun" (
    set JAVA_HOME=%SUN_JAVA_HOME%
    ) else (
    set JAVA_VENDOR=Sun
    set JAVA_HOME="place your jdk path"
    )
    )

    and do not change anything else

    ReplyDelete
  10. I really appreciate information shared above. It’s of great help. If someone want to learn Online (Virtual) instructor lead live training in ORACLE SCM, kindly contact us http://www.maxmunus.com/contact
    MaxMunus Offer World Class Virtual Instructor led training on ORACLE SCM We have industry expert trainer. We provide Training Material and Software Support. MaxMunus has successfully conducted 100000+ trainings in India, USA, UK, Australlia, Switzerland, Qatar, Saudi Arabia, Bangladesh, Bahrain and UAE etc.
    For Demo Contact us.
    Saurabh Srivastava
    MaxMunus
    E-mail: saurabh@maxmunus.com
    Skype id: saurabhmaxmunus
    Ph:+91 8553576305 / 080 - 41103383
    http://www.maxmunus.com/


    ReplyDelete
  11. This is very important and imformative blog,thanks for good info Oracle SOA Online Training Bangalore

    ReplyDelete
  12. It's A Great Pleasure reading your Article. USMLE Thanks For Posting.

    ReplyDelete
  13. Such an ideal piece of blog. I appreciate your blog
    Oracle SOA Online Training

    ReplyDelete
  14. Really thanks For Sharing such an Informative Post....

    Vizag Real Estate

    ReplyDelete
  15. This is my 1st visit to your web... But I'm so impressed with your content. Good Job!
    Click here:
    angularjs training in bangalore
    Click here:
    angularjs training in pune

    ReplyDelete
  16. Thank you for benefiting from time to focus on this kind of, I feel firmly about it and also really like comprehending far more with this particular subject matter. In case doable, when you get know-how, is it possible to thoughts modernizing your site together with far more details? It’s extremely useful to me.
    Click here:
    angularjs training in bangalore
    Click here:
    angularjs training in pune

    ReplyDelete
  17. Really nice experience you have. Thank you for sharing. It will surely be an experience to someone.
    Click here:
    Microsoft azure training in btm
    Click here:
    Microsoft azure training in rajajinagar

    ReplyDelete
  18. Thanks Admin for sharing such a useful post, I hope it’s useful to many individuals for developing their skill to get good career.

    Blueprism training in Chennai

    Blueprism training in Bangalore

    Blueprism training in Pune

    Blueprism online training

    ReplyDelete
  19. This comment has been removed by the author.

    ReplyDelete
  20. Your good knowledge and kindness in playing with all the pieces were very useful. I don’t know what I would have done if I had not encountered such a step like this.
    angularjs Training in marathahalli

    angularjs interview questions and answers

    angularjs Training in bangalore

    angularjs Training in bangalore

    angularjs online Training

    angularjs Training in marathahalli

    ReplyDelete
  21. When I initially commented, I clicked the “Notify me when new comments are added” checkbox and now each time a comment is added I get several emails with the same comment. Is there any way you can remove people from that service? Thanks.

    Amazon Web Services Training in Pune | Best AWS Training in Pune


    AWS Training in Pune | Best Amazon Web Services Training in Pune

    ReplyDelete
  22. When I initially commented, I clicked the “Notify me when new comments are added” checkbox and now each time a comment is added I get several emails with the same comment. Is there any way you can remove people from that service? Thanks.

    Amazon Web Services Training in Pune | Best AWS Training in Pune


    AWS Training in Pune | Best Amazon Web Services Training in Pune

    ReplyDelete
  23. Great post! I am actually getting ready to across this information, It’s very helpful for this blog.Also great with all of the valuable information you have Keep up the good work you are doing well.
    angularjs online training

    apache spark online training

    informatica mdm online training

    devops online training

    aws online training

    ReplyDelete
  24. Great Article… I love to read your articles because your writing style is too good, its is very very helpful for all of us and I never get bored while reading your article because, they are becomes a more and more interesting from the starting lines until the end.
    angularjs online training

    apache spark online training

    informatica mdm online training

    devops online training

    aws online training

    ReplyDelete
  25. I found this informative and interesting blog so i think so its very useful and knowledge able.I would like to thank you for the efforts you have made in writing this article.
    Microsoft Azure online training
    Selenium online training
    Java online training
    Python online training
    uipath online training

    ReplyDelete
  26. Wonderful thanks for sharing an amazing idea. keep it...

    Looking for Training Institute in Bangalore , India. Softgen Infotech is the best one to offers 85+ computer training courses including IT software course in Bangalore, India. Also it provides placement assistance service in Bangalore for IT.
    Best Software Training Institute in Bangalore

    ReplyDelete
  27. Thank you for sharing such a nice post!

    Start your journey with Training Institute in Bangaloreand get hands-on Experience with 100% Placement assistance from Expert Trainers with 8+ Years of experience @eTechno Soft Solutions Located in BTM Layout Bangalore.
    SAP Training in Bangalore

    ReplyDelete
  28. Thanks for one marvelous posting! I enjoyed reading it; you are a great author. I will make sure to bookmark your blog and may come back someday. I want to encourage that you continue your great posts.

    ReplyDelete
  29. Thank you for your post. This is excellent information. It is amazing and wonderful to visit your site.sap hana training in bangalore

    ReplyDelete
  30. Learned a lot of new things from your post! Good creation and HATS OFF to the creativity of your mind. sap fico training in bangalore

    ReplyDelete
  31. Thanks for one marvelous posting! I enjoyed reading it; you are a great author. I will make sure to bookmark your blog and may come back someday. I want to encourage that you continue your great posts.

    ReplyDelete
  32. Thanks for sharing this blog. This very important and informative blog.sap mm training in bangalore

    ReplyDelete
  33. Can you please share the memory settings for SOA 12C (12.2.1.4)

    set WLS_HOME=%WL_HOME%\server

    set WLS_MEM_ARGS_64BIT=-Xms512m -Xmx512m

    set WLS_MEM_ARGS_32BIT=-Xms512m -Xmx512m

    if NOT "%JAVA_VENDOR%"=="HP" (
    if "%VM_TYPE%"=="HotSpot" (
    set WLS_MEM_ARGS_64BIT=-Xms256m -Xmx512m
    set WLS_MEM_ARGS_32BIT=-Xms256m -Xmx512m

    ReplyDelete

  34. I am reading your post from the beginning, it was so interesting to read & I feel thanks to you for posting such a good blog, keep updates regularly.I want to share about weblogic administration .

    ReplyDelete

  35. I am reading your post from the beginning, it was so interesting to read & I feel thanks to you for posting such a good blog, keep updates regularly. I want to share about weblogic online training .

    ReplyDelete
  36. Excellent blog. Lots of useful information here, thanks for your effort!
    Real Estate Plots in Vizag

    ReplyDelete
  37. This comment has been removed by the author.

    ReplyDelete