# Changing heap size outside of module?

**URL:** <https://forum.vassalengine.org/t/changing-heap-size-outside-of-module/8974>\
**Category:** Technical Support & Bugs\
**Created:** [July 2, 2017, 8:19pm UTC](https://forum.vassalengine.org/t/changing-heap-size-outside-of-module/8974 "2017-07-02T20:19:48Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![uckelman](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/uckelman/32/10020_2.png) [@uckelman](https://forum.vassalengine.org/u/uckelman)\
**Post date:** [July 4, 2017, 8:18pm UTC](https://forum.vassalengine.org/t/changing-heap-size-outside-of-module/8974/4 "2017-07-04T20:18:41Z")

</div>

Thus spake Breunor:

> Breunor - It looks like I need a little help in figuring out how to do  
> that. If there is something else I can do, I clearly would greatly  
> appreciate any help in understanding how to do it. Otherwise yes I  
> would want to edit the preferences file directly. I’ll do whatever you  
> say is best at this point.
> 
> Once again, thanks for taking the time to help me!

Look here:

[vassalengine.org/wiki/Error\_Logs](http://www.vassalengine.org/wiki/Error_Logs)

In the same directory as the errorLog, you will find a prefs directory.  
In that, there will be a file with the same name as you module. That  
file will contain key-value pairs, one of which will have ‘maximumHeap’  
as its key. Edit the value there, and try loading the module.

I’d like to know what value you find there when you look. I’d try  
something like 512 to start with. (The value is in megabytes.)

–  
J.

---

_[View the full topic](https://forum.vassalengine.org/t/changing-heap-size-outside-of-module/8974)._
