04-02-2012 07:45 AM - edited 04-02-2012 07:46 AM
Please anybody help me I'll try experimentally understand it but always new memory allocating with every dynamically call of subvi - approximately 4..8 KB every time and subvi is consists only loop.
04-02-2012 07:50 AM
Step 1: Calm down.
Step 2: Please write in complete sentences, not one run-on sentence.
Step 3: Please explain your problem more clearly. I have no idea what your specific issue is, and I can't really understand what you're trying to say. I don't know if you're referring to a memory leak, or to a behavior you didn't know would happen, but is supposed to happen. If possible, please post code so others can try to replicate the condition.
04-02-2012 07:58 AM - edited 04-02-2012 08:01 AM
Thank you very much for your answer, please see below in LV9
Constantly grow with almost every call - most likely good applications should be much 8-)
I'm very dreaming to do application for 24/7 mode
04-02-2012 08:02 AM - edited 04-02-2012 08:02 AM
-Deleted-
04-02-2012 10:26 AM
Where are Knights of NI - they have save me, how to do that memory is no grow on every call
04-02-2012 11:31 AM
I do not see any memory leak when I run your project, in both LabVIEW 2009 and LabVIEW 2011. Memory usage according to the task manager stays constant regardless of how many times I show or hide the subVI. By the way, in the subVI, there is no need to open the VI reference. You can remove the open and close reference; if you use a property or method node of the VI class and don't wire the refnum input, it will implicitly reference the current VI.
04-02-2012 11:53 AM
Thank you very much Nathand nevertheless I saw how grow value in task manager.
04-02-2012 11:54 AM
Thank you very much Nathand nevertheless I saw how grow value in task manager. I've checked it on exe file
04-02-2012 12:05 PM
Are you saying the increase in memory happens only when it's running as an exe? Do you see it if it's running within the LabVIEW development environment?
Aside: You should not hard-code paths in the code.
04-02-2012 12:09 PM - edited 04-02-2012 12:13 PM
Once more I've checked it (I tested always in exe file) and what I saw in Task manager - at once 32248 KB after 100 times I clicked mouse - 32972 KB, well what does it mean I don't know - may be for me first of all - calm down.