08-02-2015 04:24 PM
Hi
I must be doing something really stupid and very easily crashing my pc by writing only few functions in labview!
I want to pre-allocate memory of 5GB at the start of application. So I used simple initialize function to create 2d array of NaN dB points as shown in the image. I have 8GB of memory but the error popped up as shown in screen. And I only tried 1GB as shown in image. Could I not have this pre-allocation?
08-02-2015 04:45 PM
@k-waris wrote:
Hi
I must be doing something really stupid and very easily crashing my pc by writing only few functions in labview!
I want to pre-allocate memory of 5GB at the start of application. So I used simple initialize function to create 2d array of NaN dB points as shown in the image. I have 8GB of memory but the error popped up as shown in screen. And I only tried 1GB as shown in image. Could I not have this pre-allocation?
Are you running LabVIEW 32-bit? You can't allocate that much memory with a 32-bit operating system or in LabVIEW 32-bit.
08-02-2015 05:42 PM
Guaranted 64 bit os and Labview!
08-02-2015 08:34 PM
What happens if you wire the equivalent number directly instead of computing it?
08-03-2015 02:12 AM - edited 08-03-2015 02:12 AM
Hi k-waris,
And I only tried 1GB as shown in image
Well, we cannot see which value you used for channel count.
But still then you want to create a 2D array of (atleast) 1G*1 of DBL, which needs 8GB of memory.
With any OS and other software running I guess it will be hard to have 8GB continuous RAM available!