03-27-2006 02:11 AM
Hello experts: My application needs a sometimes huge buffer for image acquisition and I wanted to control this to prevent any "out of memory" crash. I was surprised that LabView allocates much more memory than awaited. As my included test procedure shows creating a 1-dimensional buffer of I16 elements of size 10 MB results in a loss of 60 MB of available physical memory instead of 20 MB as awaited. Creating a buffer of I8 elements consumes the same space, I32 elements need more, but not 2 times more as awaited. Is something wrong in my considerations?
03-29-2006 02:40 AM
03-29-2006 07:38 AM
03-29-2006 08:04 AM - edited 03-29-2006 08:04 AM
Message Edited by GerdW on 03-29-2006 03:05 PM
03-31-2006 02:58 AM
Hello GerdW
sorry, I played with the test routine and the last setting for the element type was DBL. Now I changed it back to I16. The fact remains that if I create an array of 10 Million elements of type I16 the loss of " Available physical memory" is ca. 60 MB instead of 20 MB as expected. I attached a WORD document with two screen dumps showing that.
By the way, I found the VI "System Information" in the functions palette User libraries > Windows system utility Vis . These routines are located in the library "C:\Programme\National Instruments\LabVIEW 7.1\user.lib\Winsys.llb"
Regards Detlef
03-31-2006 04:28 AM
03-31-2006 07:07 AM
03-31-2006 07:28 AM