# Editor crash: 'java heap space'

**URL:** <https://forum.defold.com/t/editor-crash-java-heap-space/52>\
**Category:** Bugs\
**Created:** [April 20, 2015, 8:01am UTC](https://forum.defold.com/t/editor-crash-java-heap-space/52 "2015-04-20T08:01:31Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![LarsSjodin](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/larssjodin/32/28_2.png) [@LarsSjodin](https://forum.defold.com/u/LarsSjodin)\
**Post date:** [April 20, 2015, 8:20am UTC](https://forum.defold.com/t/editor-crash-java-heap-space/52/3 "2015-04-20T08:20:43Z")

</div>

Ok. Perhaps it’s content that uses the memory in question. Could you try to increase the heap allocated by java?

1. Locate the file “Defold.ini” in the defold directory
2. Change the line:  
-Xmx1200M  
to  
-Xmx2000M
3. Save the file and restart Defold.

If that does the trick, it was just normal usage and we might consider increasing the default values in the dist. Please let me know if it works (will try to provoke it myself as well in the meantime)

---

_[View the full topic](https://forum.defold.com/t/editor-crash-java-heap-space/52)._
