lb,
you should post the VIs you are using.
Nevertheless some basics on array handling:
a) Each array has to be in RAM in one piece, so if you have an array of 1,000,000 elements I16 1D, you need 2MB RAM in one piece without "interrupts"
b) Conversion of data creates copies. So converting 1,000,000 dbl 1D array to i16 needs (temporarily) 10MB, 8MB in one piece and 2MB in another piece
c) Resizing arrays, if not preallocated properly, needs more than twice (up to three times) the arraysize of the bigger array to be put together.
d) Memory fragmentation prevents the OS to allocate enough memory for one piece. So the out of memory message will be always created by the OS. So other way round: If you get such an OS message, you have most propably an issue with reallocation of or newly allocating arrays.
hope this helps,
Norbert
Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.