I have been developing a program in VB 2017 where I am able to create a (5 x 30000000) integer array.

I want to increase the big dimension by a factor of about 10. 32 bit VB 2017 won't let me do it.

So I downloaded 64 bit VB 2022 thinking I could create and use a larger array.

VB 2022 will let me create the array but throws an out of memory exception when I try to use it.

I am running 64 bit Windows 10 Pro and have 32 GB of memory but only 2.7 GB are being allocated to process memory.

I don't have much experience with VB 2022. How can I fix this?

Jerry