From 11:00 PM CDT Friday, May 10 – 02:30 PM CDT Saturday, May 11 (04:00 AM UTC – 07:30 PM UTC), ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to read the amount of free memory available?

I need a tool to tell me the amount of free memory left, at any given time. I want to tell my user in advance, and as the experiment proceeds, how much experiment time can remain before we will run out of memory. Yes I know, in a more perfect world the data would be written to disk and not stay in memory; but for now this solution would really help.

 

Please be clear: I'm not looking for the performance profiling tool. I need something that will tell my program, at runtime, how much memory is left available to it. Is there any such tool?

 

Thanks,

Ken

0 Kudos
Message 1 of 2
(2,761 Views)

Hey Ken,

       I think this article discusses what you're looking for:

 

How Can I Programmatically Find Information About My Computer's Memory Usage?

http://digital.ni.com/public.nsf/allkb/B5889EB5349FAC478625723E00090265

 

Hope this helps!

 

--Ryan S.

Message 2 of 2
(2,734 Views)