# Problems with Max / Min Heap Size in 3.1.5

**URL:** <https://forum.vassalengine.org/t/problems-with-max-min-heap-size-in-3-1-5/1944>\
**Category:** Technical Support & Bugs\
**Created:** [May 18, 2009, 3:46am UTC](https://forum.vassalengine.org/t/problems-with-max-min-heap-size-in-3-1-5/1944 "2009-05-18T03:46:37Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![fatgreta](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/f/839c29/32.png) [@fatgreta](https://forum.vassalengine.org/u/fatgreta)\
**Post date:** [May 18, 2009, 3:46am UTC](https://forum.vassalengine.org/t/problems-with-max-min-heap-size-in-3-1-5/1944/1 "2009-05-18T03:46:37Z")

</div>

Hi,

I just downloaded 3.1.5 and tried to open the World at War Module (2.2). I’d been playing it in version 3.1.3, and it worked OK (some bugs in the module itself, but it played). When I first opened the module I got a message saying that the max heap size in preferences was too high, and it would be set at the failsafe of 128MB. In the preferences, the Min / Max Heap size was set at 256 / 512. When I went on, as the module started to load, I got a message saying Vassal had run out of memory, that the Max Heap size was too low and to reset it in my preferences and try again. I can still play the module using v 3.1.3, but would rather stay current. Any ideas?

Thanks,

Chris

---

<div class="post-metadata">

**Author:** ![mkiefte](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/mkiefte/32/25_2.png) [@mkiefte](https://forum.vassalengine.org/u/mkiefte)\
**Post date:** [May 18, 2009, 4:11am UTC](https://forum.vassalengine.org/t/problems-with-max-min-heap-size-in-3-1-5/1944/2 "2009-05-18T04:11:41Z")

</div>

Try setting the heap size to 192 MB or something in between 256 MB and 128 MB. 128 MB is indeed a good failsafe value, but it’s too little for many modules. 256 MB is too much for your computer however.

- M.

2009/5/17 fatgreta \<[messages@forums.vassalengine.org](mailto:messages@forums.vassalengine.org) ([messages@forums.vassalengine.org](mailto:messages@forums.vassalengine.org))\>

> [@](#):
>
> Hi,
> 
> I just downloaded 3.1.5 and tried to open the World at War Module (2.2). I’d been playing it in version 3.1.3, and it worked OK (some bugs in the module itself, but it played). When I first opened the module I got a message saying that the max heap size in preferences was too high, and it would be set at the failsafe of 128MB. In the preferences, the Min / Max Heap size was set at 256 / 512. When I went on, as the module started to load, I got a message saying Vassal had run out of memory, that the Max Heap size was too low and to reset it in my preferences and try again. I can still play the module using v 3.1.3, but would rather stay current. Any ideas?
> 
> Thanks,
> 
> Chris

Post generated using Mail2Forum ([mail2forum.com](http://www.mail2forum.com))

---

<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:** [May 18, 2009, 8:08am UTC](https://forum.vassalengine.org/t/problems-with-max-min-heap-size-in-3-1-5/1944/3 "2009-05-18T08:08:20Z")

</div>

Thus spake “fatgreta”:

> [@](#):
>
> Hi,
> 
> I just downloaded 3.1.5 and tried to open the World at War Module (2.2). I’d  
> been playing it in version 3.1.3, and it worked OK (some bugs in the module i  
> tself, but it played). When I first opened the module I got a message saying  
> that the max heap size in preferences was too high, and it would be set at th  
> e failsafe of 128MB. In the preferences, the Min / Max Heap size was set at 2  
> 56 / 512. When I went on, as the module started to load, I got a message sayi  
> ng Vassal had run out of memory, that the Max Heap size was too low and to re  
> set it in my preferences and try again. I can still play the module using v 3  
> .1.3, but would rather stay current. Any ideas?
> 
> Thanks,
> 
> Chris

You have to set the max heap to less than the amount of RAM you have.  
How much RAM do you have?

–  
J.

* * *

Messages mailing list  
[Messages@forums.vassalengine.org](mailto:Messages@forums.vassalengine.org)  
[forums.vassalengine.org/mailman/ … engine.org](http://forums.vassalengine.org/mailman/listinfo/messages_forums.vassalengine.org)

Post generated using Mail2Forum ([mail2forum.com](http://www.mail2forum.com))

---

<div class="post-metadata">

**Author:** ![fatgreta](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/f/839c29/32.png) [@fatgreta](https://forum.vassalengine.org/u/fatgreta)\
**Post date:** [May 18, 2009, 10:59am UTC](https://forum.vassalengine.org/t/problems-with-max-min-heap-size-in-3-1-5/1944/4 "2009-05-18T10:59:03Z")

</div>

Thanks for the replies. It’s an old computer and I need more RAM (I’ve only got 512MB), and based on feedback on another post I’ll get more of that and see how it goes then.

Thanks,

Chris

---

<div class="post-metadata">

**Author:** ![mkiefte](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/mkiefte/32/25_2.png) [@mkiefte](https://forum.vassalengine.org/u/mkiefte)\
**Post date:** [May 18, 2009, 2:37pm UTC](https://forum.vassalengine.org/t/problems-with-max-min-heap-size-in-3-1-5/1944/5 "2009-05-18T14:37:39Z")

</div>

Just out of curiosity, did you try setting the maximum heap to 192 MB. This is the second time I’ve suggested this to someone and no one has tried yet.

- M.

2009/5/18 fatgreta \<[messages@forums.vassalengine.org](mailto:messages@forums.vassalengine.org) ([messages@forums.vassalengine.org](mailto:messages@forums.vassalengine.org))\>

> [@](#):
>
> Thanks for the replies. It’s an old computer and I need more RAM (I’ve only got 512MB), and based on feedback on another post I’ll get more of that and see how it goes then.
> 
> Thanks,
> 
> Chris

Post generated using Mail2Forum ([mail2forum.com](http://www.mail2forum.com))

---

<div class="post-metadata">

**Author:** ![fatgreta](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/f/839c29/32.png) [@fatgreta](https://forum.vassalengine.org/u/fatgreta)\
**Post date:** [May 18, 2009, 9:29pm UTC](https://forum.vassalengine.org/t/problems-with-max-min-heap-size-in-3-1-5/1944/6 "2009-05-18T21:29:24Z")

</div>

> [@mkiefte](#):
>
> Just out of curiosity, did you try setting the maximum heap to 192 MB. This is the second time I’ve suggested this to someone and no one has tried yet.
> 
> - M.
> 
> 2009/5/18 fatgreta
> 
> > [@](#):
> >
> > Thanks for the replies. It’s an old computer and I need more RAM (I’ve only got 512MB), and based on feedback on another post I’ll get more of that and see how it goes then.
> > 
> > Thanks,
> > 
> > Chris
> 
> Post generated using Mail2Forum ([mail2forum.com](http://www.mail2forum.com))

hi,

Not yet, but i’ve not gone back to the game since your post. I will try it and let you know, when I get a chance.

Chris

---

<div class="post-metadata">

**Author:** ![fatgreta](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/f/839c29/32.png) [@fatgreta](https://forum.vassalengine.org/u/fatgreta)\
**Post date:** [May 20, 2009, 1:54am UTC](https://forum.vassalengine.org/t/problems-with-max-min-heap-size-in-3-1-5/1944/7 "2009-05-20T01:54:02Z")

</div>

> [@fatgreta](#):
>
> > [@mkiefte](#):
> >
> > Just out of curiosity, did you try setting the maximum heap to 192 MB. This is the second time I’ve suggested this to someone and no one has tried yet.
> > 
> > - M.
> > 
> > 2009/5/18 fatgreta
> > 
> > > [@](#):
> > >
> > > Thanks for the replies. It’s an old computer and I need more RAM (I’ve only got 512MB), and based on feedback on another post I’ll get more of that and see how it goes then.
> > > 
> > > Thanks,
> > > 
> > > Chris
> > 
> > Post generated using Mail2Forum ([mail2forum.com](http://www.mail2forum.com))
> 
> hi,
> 
> Not yet, but i’ve not gone back to the game since your post. I will try it and let you know, when I get a chance.
> 
> Chris

Hi,

I just tried this. I used the 192 figure for both boxes (initial and max, I think they were). It ran smoothly, and I’d say a little faster than version 3.1.3 was running, which was a big improvement on my machine over whichever version I used before that. So, thanks for the tip, it seems to be great. If I have any further trouble, I’ll post it here.

Chris
