[messages] [Module Design] Map and Heap Size
uckelman at nomic.net
Fri Sep 7 02:19:02 MST 2012
Thus spake chap:
> Would a map that had 4 .png files each 4000x4000 take up 64MB (length x
> width x 4
> bytes per pixel) of memory or 4 times that much?
The whole map would be about 244MB (4000 * 4000 * 4 * 4 / 1024 / 1024).
> Presently I'm designing a mod in vassal v 3.1 with a very large map and
> would like it to be manageable on the heap & stack size, say less than 1
This will matter much less with VASSAL 3.2, since there we're caching
map tiles on disk.
More information about the messages