11-12-2022, 08:02 PM
Click on the image above and you can see the memory required. 3 ^ 10 by 3 ^ 10, in nibbles, is 2GB of memory -- your program certainly wouldn't run on any 32-bit OS, and may not run on 64-bit systems unless they have a decent amount of ram in them. (Bargain PCs with 4GB ram wouldn't work very well at all, I don't imagine, as the OS needs memory for itself, as well as any other apps/services in the background.)
Is there any chance you could store the data on the drive instead, and access it via GET/PUT, rather than trying to access it all in memory at once?