memory - How much RAM C# application can use? -


i have application big datatable objects, big arrays etc.

currently memory usage below 2gb.

what happen when application produce 4 arrays 1gb size on 32 bit system?

will crash?

i know 2gb object size limit in clr, many big objects?

i tried test it, declared few big arrays, when empty seems not use ram. didn't tried fill them, decided ask here.

64 bit application, including managed ones, can access large memory.

32 bit application have virtual address space of maximum 4gb. in practaice 2gb default. /largeadressaware applicaitons can 3gb /3gb in boot.ini or 4gb when running on wow64.

managed application, on x64 cannot , allocate single object larger 2gb. includes arrays.

but no matter amount of va available @ disposal: manipulating +2gb datatable object not going work. use storage engine capable of handling , manipulating large amounts of data fast, , capable of intelligent paging. redis, cassandra or traditional rdbmss more suited job.

even if decide manipulate data directly in memory, need smarter format datatable.


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -