Sam: You will run out of memory long before you managed to insert 2 billion members into an array.
What happens when MicroStation is running in Windows 64-bit?
Suppose your computer has 16MByte RAM running Win XP/Vista 64-bit. MicroStation supposedly will use as much RAM as it's able to grab from the operating system. Is that extra memory available to MDL applications?
Regards, Jon Summers LA Solutions
Jon,
On 64 bit operating systems, applications can use 4G of virtual memory. That 4G has to be divided between MicroStation's dlls/data, and your application dlls/data. If you have more than 4G of physical memory, MicroStation will use the memory above 4G to hold your element data so it doesn't consume your virtual address space (model data is typically the largest use of virtual address space and usually the reason applications run out of memory). But, it isn't magic - your application is still a 32bit program and can't allocate a 4G array...
HTH, Keith
Keith: If you have more than 4G of physical memory, MicroStation will use the memory above 4G to hold your element data so it doesn't consume your virtual address space.
Thanks for the clarification!