LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Memory Usage

Hello Wendy

As you can see in my application(Datalog) i don't any instance calloc or malloc where i am allocating dynamatically. You also must have observed it. Even though when i run the application it takes 11-12 MB which come down to 3 to 4 MB over the period of time. On exit i just need to disconnect from the database but there is nothing to release the memory. This application is intend to run for 30days round the clock. I am afraid only why initially it takes so much momory. Is there any way to calculate or estimate memory usage when it runs..

Thanks and regards

Rakesh

0 Kudos
Message 11 of 12
(1,222 Views)

Hello Rakesh,

You should try to isolate exactly where all your memory is  being allocated.  As in, you should put breakpoints at the beginning of your application, step through the code and watch the memory usage in Task Manager or in the Performance Counter in Control Panel >> Administrative Tools to see exactly when and where the memory usage increase..  Then you will be able to isolate this issue to one function call.

Thanks.

Wendy L
LabWindows/CVI Developer Newsletter
0 Kudos
Message 12 of 12
(1,207 Views)