From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
03-19-2014 03:23 AM
Hi,
we develope large Labview applications with large data sizes.
In one Application we get a "Memory Full Error" and the Application crashes.
But we don't know why.
We use a lot of shared Variables and a few of them are large data arrays.
A few Single Arrays with 300000 size (unbuffered) are read and written very often (every 100ms).
Can this be a problem for memory full error?
Thanks
Hans
03-20-2014 10:16 AM
Hi Hans,
which version of labview do you use, 64Bit or 32Bit, the problem is LabView 32Bit can only use max 3,5GB Ram on a 64Bit System and 64Bit LabView can use 16TB
http://www.ni.com/white-paper/10383/en/
Maybe you can take a look at the memory blocks used for LabView https://decibel.ni.com/content/docs/DOC-12427, you can drag and drop the png from the community example into a LabView VI.
I don't which datatype you write to array, maybe you can calculate the maximum memory size of your array functions so you can see how many memory you are using
Best Regards
Dominik
03-24-2014 02:29 AM
Hi Dominik,
thanks for your reply.
This application uses Labview 32bit.
I've checked the example from your link to get the free available contignous memory.
Thanks for this. Maybe I can use this in my application to log the free memory to see what happened before "Memory full" occurs.
Mainly we read and write large single arrays (size: ~300000 Elements). Also with shared variables!
I've checked the shared variables access with the Buffer allocation profile tool from Labview and it seems that to write a shared variable makes no buffer allocation.
But maybe in the Shared Variable Engine? - Can this also cause a memory full error?
Normally the "Memory Full" error tells which VI has caused it, or? In my case not.
Thanks
Hans
03-25-2014 06:48 AM
Hi Hans,
maybe this paper can give you an answer of all your questions.
http://www.ni.com/white-paper/4679/en/
Best Regards
Dominik
04-01-2014 03:30 AM
Hi Dominik,
thanks, I've checked it and it's very useful.
Thanks
Hans
04-03-2014 01:09 AM
Hi all,
I've found out that the "Search Variable Container" VI produces the memory leak.
Since I use this periodically in my program this is a problem for me.
This seems to be a problem of Labview 2013 SP1, or?
Hans