Hey Loc, thanks for your map tool.
One question: is there a limit to the number of provinces the tool can handle?
On your older original version of the tool (around march?), it had no problems handling a massive map with thousands of provinces.
This current iteration of your tool is throwing me an 'out of memory' error at the '6 - Make Provinces Setup' mark.
But I'm not entirely sure whether the number of provinces is actually the cause of the problem.
Hi, I'm sorry to hear that. There is no coded limit, except for the limitations of the language (which you won't meet) and the limits of the hardware.
I always envisionned this as being used for maps -at most- the size of the vanilla map, so that's what I tested for.
Judging by where it failed, I think your problem is not the number of provinces but possibly the total size of the map, or the size of one province in particular. Can you tell me your map size and a rough estimation of the number of pixels in your largest province ?
EDIT : While it's not a great solution, if you have enough RAM, you can use the nuclear option. Edit the 6 - Make Provinces Setup.bat with a text editor and change the first line to this :
java
-Xmx8g -classpath "./bin" ck2maptools/main/CK2MakeProvinceSetup
This tells Java it can use up to 8GB of memory.