# Switch trigger action

**URL:** <https://forum.vassalengine.org/t/switch-trigger-action/11217>\
**Category:** Feature Requests\
**Created:** [October 9, 2020, 9:40am UTC](https://forum.vassalengine.org/t/switch-trigger-action/11217 "2020-10-09T09:40:05Z")\
**Posts on this page:** 1\
**Showing post:** 14

<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:** [February 4, 2021, 6:48pm UTC](https://forum.vassalengine.org/t/switch-trigger-action/11217/14 "2021-02-04T18:48:40Z")

</div>

Thus spake panther 2010 via messages:

> Hello uckelman,
> 
> I tried several times to set the maximun heap to a higher value, but all  
> I got was an error code informing me of the attempt to use a memory  
> value greater than what is available and this despite that an entire  
> memory slot from 4 GB was unused.

Ok. To what were you trying to set the max heap?

> The problem lies in how and especially  
> where Java allocates memory. If possible, Java should be forced to  
> allocate memory in a free memory slot, and not in one already used by  
> the operating system and other programs that are activated automatically  
> when the computer starts.

I’m not sure what you’re talking about here.

–  
J.

---

_[View the full topic](https://forum.vassalengine.org/t/switch-trigger-action/11217)._
