Mac Heap Size error - Wif Module

We have a Mac user who is getting max heap size errors - says it’s reached the limit and he has to increase it. He’s already at 2048 – he doesn’t know how much RAM he has, but this seems a bit extreme as the PC version works fine with 1024 as max heap. Any suggestions on how to fix this?

Thanks,

Ken Clark

Thus spake KenClark:

We have a Mac user who is getting max heap size errors - says it’s
reached the limit and he has to increase it. He’s already at 2048 – he
doesn’t know how much RAM he has, but this seems a bit extreme as the PC
version works fine with 1024 as max heap. Any suggestions on how to fix
this?

Finding out how much ram he has would be helpful.

What version of VASSAL is he running?


J.

He’s using the latest Mac Vassal from this site (just downloaded it yesterday I believe).

As for RAM, he doesn’t know (very tech-illiterate) but has a 2010 Macbook (so 2 gigs? 4? I have no clue).

We have tried 512/1024, 1024/1024, 1024/2048 and the default settings, all seem to give errors. the World in Flames module has some large JPEGs for the maps, which seem to be the problem (he will load 3/4 of the game maps but then it craps out).

Thanks,

Ken

Thus spake KenClark:

He’s using the latest Mac Vassal from this site (just downloaded it
yesterday I believe).

As for RAM, he doesn’t know (very tech-illiterate) but has a 2010
Macbook (so 2 gigs? 4? I have no clue).

We have tried 512/1024, 1024/1024, 1024/2048 and the default settings,
all seem to give errors. the World in Flames module has some large
JPEGs for the maps, which seem to be the problem (he will load 3/4 of
the game maps but then it craps out).

So this is VASSAL 3.1.17?

Try selecting the “Use memory-mapped images” setting in the Preferences.
Note that you have to reload the module for changes to this setting to
take affect.


J.

On Nov 8, 2011, at 7:59 AM, KenClark wrote:

As for RAM, he doesn’t know (very tech-illiterate) but has a 2010
Macbook (so 2 gigs? 4? I have no clue).

It will be at least 2 gig; possibly 4 depending on which model.
It is easy to find out, though. Have him go to the Apple symbol memory and select “About this Mac”, which should be the first entry. It will report the amount of memory.

Also, this will be running a 64bit Java, which may increase the memory requirement vis-a-vis 32 bit.

On Nov 7, 2011, at 8:17 PM, KenClark wrote:

We have a Mac user who is getting max heap size errors - says it’s
reached the limit and he has to increase it. He’s already at 2048 – he
doesn’t know how much RAM he has, but this seems a bit extreme as the PC
version works fine with 1024 as max heap. Any suggestions on how to fix
this?

Hmmm.
I just downloaded and tried this on my iMac and didn’t have any problems starting an offline game.

Vassal 3.1.17 and WIF 6.30

The default memory that I used was 256/512 with memory mapped images off.
I loaded all of the maps except South America.

No errors and no other problems.
I tried loading some of the saved games as well and they also seemed to work.

So I’m not sure what the problem is with your Mac user friend.

I also tried with Quartz rendering on and off and it didn’t seem to make a difference.

Thanks,

Ken Clark


Read this topic online here:
Mac Heap Size error - Wif Module


messages mailing list
messages@vassalengine.org
vassalengine.org/mailman/listinfo/messages

Good question. Thanks for the advice – I think we got this fixed.

Thus spake KenClark:

Good question. Thanks for the advice – I think we got this fixed.

Great. Once 3.2 is released, there should be less trouble with this
sort of thing.


J.