# Could not create the Java virtual machine

**URL:** <https://forum.inductiveautomation.com/t/could-not-create-the-java-virtual-machine/5072>\
**Category:** Ignition\
**Created:** [August 29, 2012, 6:12pm UTC](https://forum.inductiveautomation.com/t/could-not-create-the-java-virtual-machine/5072 "2012-08-29T18:12:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jonathan](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@Jonathan](https://forum.inductiveautomation.com/u/Jonathan)\
**Post date:** [August 29, 2012, 6:12pm UTC](https://forum.inductiveautomation.com/t/could-not-create-the-java-virtual-machine/5072/1 "2012-08-29T18:12:20Z")

</div>

I created a new project and sent some windows over to the new project from and existing project. when i try to open the new project in staging or publish i receive an error message.

> [@](#):
>
> Could not create the Java virtual machine.

all my other projects still launch fine. What is causing the above error?

Thank you,

---

<div class="post-metadata">

**Author:** ![Jonathan](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@Jonathan](https://forum.inductiveautomation.com/u/Jonathan)\
**Post date:** [August 29, 2012, 6:23pm UTC](https://forum.inductiveautomation.com/t/could-not-create-the-java-virtual-machine/5072/2 "2012-08-29T18:23:39Z")

</div>

I initially put the client maximum memory at 2048. when i changed the maximum down to 256 the client launched. then i changed the maximum back up to 2048 and the client still launch. not sure if the maximum memory was the problem, but now the client is launching.

---

<div class="post-metadata">

**Author:** ![greg.simpson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/greg.simpson/32/3135_2.png) [@greg.simpson](https://forum.inductiveautomation.com/u/greg.simpson)\
**Post date:** [August 29, 2012, 6:35pm UTC](https://forum.inductiveautomation.com/t/could-not-create-the-java-virtual-machine/5072/3 "2012-08-29T18:35:22Z")

</div>

If you have the client memory set to 2048 this could cause an issue. Remember the max heap size on a 32 bit installation is 1536. I would revert the client size back to 256 MB max just to avoid any issues down the road. If you feel that isn’t enough, increase the amount of client memory, but avoid maxing it out.
