Hi all.
How can you find out how many arrays you can create? Like let's say in my PC I can create 100, but in my brothers I can create 150. Just examples.
And what decides the maximum amount of arrays? Is it the RAM or harddisk or something else?
Thank you
Amount of arrays
Re: Amount of arrays
I think it depends on the RAM.
Re: Amount of arrays
Obviously this depends on the number of elements in each array. To create an array there needs to enough free contigous virtual memory. Virtual memory is physical memory plus swap file.
Also, if your program is 32-bit it can't use more than 2gb ram total even if the computer has more virtual memory available.
Also, if your program is 32-bit it can't use more than 2gb ram total even if the computer has more virtual memory available.

