# Nexus Repository Manager 3 Installation Error

**URL:** <https://community.sonatype.com/t/nexus-repository-manager-3-installation-error/4602>\
**Category:** Sonatype Nexus Repository\
**Created:** [July 11, 2020, 7:00am UTC](https://community.sonatype.com/t/nexus-repository-manager-3-installation-error/4602 "2020-07-11T07:00:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lzyuan168](https://avatars.discourse-cdn.com/v4/letter/l/5e9695/32.png) [@lzyuan168](https://community.sonatype.com/u/lzyuan168)\
**Post date:** [July 11, 2020, 7:00am UTC](https://community.sonatype.com/t/nexus-repository-manager-3-installation-error/4602/1 "2020-07-11T07:00:17Z")

</div>

Hi while doing Nexus repository manager 3 installation

running the following in cmd “nexus.exe /run”

it returns this error  
" Error occurred during the initialization of VM  
Could not reserve enough space for object heap "

I have made sure that my system has **8GB RAM** , **4 CPU core** and **heap size of 2703MB** according to the official system recommendation

May I know what could be causing this issue and if 8GB RAM is enough to run Nexus or should I increase the RAM size further.

Thank you

---

<div class="post-metadata">

**Author:** ![jtom](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/jtom/32/68_2.png) [@jtom](https://community.sonatype.com/u/jtom)\
**Post date:** [July 13, 2020, 6:10pm UTC](https://community.sonatype.com/t/nexus-repository-manager-3-installation-error/4602/2 "2020-07-13T18:10:28Z")

</div>

Hi,  
This is a pretty complex question to answer because it depends on your usage.  
However, following the doc is a good idea.

Your heap of 2703 is the minimum per [https://help.sonatype.com/display/NXRM3/System+Requirements#SystemRequirements-MemoryRequirements](https://help.sonatype.com/display/NXRM3/System+Requirements#SystemRequirements-MemoryRequirements). Perhaps try the maximum.

8GB ram will depend on your instance size. If it’s just you (fake example), 8GB should be more than enough. For a team of 10000 people it’s not.  
See [https://help.sonatype.com/display/NXRM3/System+Requirements#SystemRequirements-InstanceMemorySizingProfiles](https://help.sonatype.com/display/NXRM3/System+Requirements#SystemRequirements-InstanceMemorySizingProfiles) for details.

Also in case you were unaware, you have to restart your (repository) instance in between configuration changes. So if you changed them but didn’t restart you’d still be on the old settings.

Hope that helps,  
Joe
