03-25-2010 01:48 AM
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
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!!!
03-25-2010 08:39 AM
05-19-2010 03:38 AM
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
05-19-2010 06:05 AM
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.
03-31-2011 04:59 AM
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