LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

memory increase in regular intervals

I did the overnight run. But found that memory is not reducing at all. It still adds up by 64KB in regular intervals. The second thing that I did was, I added another parallel loop (earlier it was disabled, now enabled) with same functionality and events and queues with-it. But instead of increasing 128KB it still increases by 64KB only.

 

The above observation is as far as the data from Perfmon is concerned (privates byes for LabVIEW.exe). It showed a difference of 3.7MB over 15 Hrs.

 

But when I saw LabVIEW.exe in task manager, it was showing atleast a 100MB lesser than what it has started with (initial memory displayed in taskmanager).

 

I tried searching what could be difference in Perf Mon and Task Manager and which of them is reliable. I do agree that perfmon is better as it monitors only a single process, but I dont want to believe it as task manager is showing something amazing for me Smiley Happy

 

I am hoping to leave it for some more time and see if the graph gets stable after that. I read that it takes sometime for LabVIEW to become stable and maintain at a constant memory.

 

Sorry again that I could not post the code as its in a different network and its a complete application by itself (with different layers)

 

Will update you guys more. Could anyone in the meanwhile tell me the difference in behaviour of perfmon and task manager for the same process!!!

0 Kudos
Message 11 of 15
(945 Views)
Nothing seems to be working. Is the size increasing because of the UI ? As I am updating data (1000 rows) on my UI in every 1Sec.
0 Kudos
Message 12 of 15
(930 Views)

1) Is this fixed yet

2) Do you have a Picture control in your UI that you are changing occasionally - if you change a picture box with the incorrect technique you get a memory leak.

 

James

CLD; LabVIEW since 8.0, Currently have LabVIEW 2015 SP1, 2018SP1 & 2020 installed
0 Kudos
Message 13 of 15
(873 Views)

Yes, it has been fixed.

 

The increase in memory is largely attributed to the frequent updation of large amout of data on the GUI. I have removed the GUI updation and used a button to update the GUI when the user wants to see data.

 

I was generating an event which was not been captured. Hence there was an increase.

 

The memory still increases atleast for the first 6-8 hrs and then becomes constant.

 

No, I do not have a picture control.

0 Kudos
Message 14 of 15
(854 Views)

Hi Ben

 

I have the same problem.

Can you please find where the problem.

my pc configuratio  core2Duo 2.93GHz,1GB ram.

 

In my task it will read data from a measurement file. file size around 24MB.

It takes much time to execute.

some time program hangs.

 

i attached the sequence of screen shots and also project.

 

Regards

Hari

Download All
0 Kudos
Message 15 of 15
(641 Views)