I installed the Trollcoin wallet on Windows 10 and I keep getting this error message. I tried to sync the wallet on 3 different Windows 10 machines with the same issue. If anyone could help that would be good.
Error:
A fatal error occurred. Trollcoin can no longer continue safely and will quit.
exception: st9bad_alloc
std:bad_alloc
Thanks,
from another coin's forum:
It seems that we were running up into the default 2 GB process size limit for 32-bit applications in Windows. 32-bit applications running in 32-bit Windows can support up to 3 GB of RAM, and 32-bit applications running in 64-bit Windows can support up too 4 GB of RAM, but they need to be compiled with this feature enabled.
Here's the Microsoft page about this build option, IMAGE_FILE_LARGE_ADDRESS_AWARE, for your reading pleasure:
https://docs.microsoft.com/en-gb/windows/desktop/Memory/memory-limits-for-windows-releases#memory_limits
In our case we are using the MXE cross-compile from Linux, and need to add the -Wl,--large-address-aware flag to our 32-bit Windows build.