Thus spake Flint1b:
>
> I wonder if it is this issue:
> -
https://www.oracle.com/java/technologie ... heap_32bit[1]
> -
https://stackoverflow.com/questions/171 ... windows-xp[2]
>
> A quick search given the symptoms found these, they all seem to stem
> from 32bit JVMs, and solvable by switching to 64bit. In 2020, with most
> if not all CPUs of the last 10-20 years being 64bit, and some OSes
> dropping 32bit support altogether, does Vassal support 32bit or would it
> be possible to tell the users they need a 64bit JVM?
Years ago, people were running 32-bit Windows and thus having only 4GB of
address space. So I know in some cases that was the problem: there
simiply was no block of address space large enough. I haven't encountered
that in a while, as it seems like all the 32-bit Windows systems are
retired now.
The JVM which will be bundled with the Windows package is 64-bit, but
there's nothing in the code which would keep VASSAL from working with
a 32-bit JVM. Given that we're bundling on Windows from 3.3.0 onward
and I don't turn up any places to download a 32-bit JVM in a minute of
looking, I expect we'll see basically no one running a 32-bit JVM
anyway, so there won't be any practical difference between saying we
support it and saying we don't.
That said, I know I've seen the problem I was describing many times
when the user had a 64-bit JVM.
> "Cattlesquat" wrote:
> > Well I'll nominate 12554 as one that would probably help a decent
> > number of users (based on marktb's saying "it is known" in the
> > community that Undo screws up a lot), but HOOOO BOY it's a bear. I put
> > some research posts into the bug entry. I *hypothesize* that if we
> > made every PieceMover-type method that currently generates MovePiece
> > sequences for Stacked units do a
> > RemovePiece-then-MovePiece-then-AddPiece for every single move, that
> > the problem would be fixed... but sheesh.
>
>
> This looks like a good one to get to learn the code from the bottom up,
> I will look into it.
Go for it.
--
J.