What are the Memory restrictions of the ILNumerics Library ? A hdf5 Dataset of Byte [27 Mio, 24] (108 MB) can read as Byte
using (var file = new H5File(@"MP2.h5"))
{ var data = file.First<H5Dataset>("Spectrum").Get<Byte>();
The Taskmanager show then 650 MB used for the Process.
If I set Get to float an Exception is thrown:
System.OutOfMemoryException: Die Arraydimensionen haben den unterstützten Bereich überschritten.
bei ILNumerics.Misc.ILMemoryPoolInternal`1.New(Int64 length)
bei ILNumerics.IO.HDF5.H5Dataset.Get[T](ILBaseArray[] range)
bei WindowsFormsApplication1.Plotting_Form1..ctor() in
I have Win7x64 with 16GB and use AnyCPU. So an 500 MB Array should be possible.
Matlabx64 with 300 MB RAM used after start can read the data as byte (940 MB), single (2.6 GB RAM used) or double (5.3 GB).