ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with DSC module

I am developing a high channel count monitoring application using LabView 7.1.
I am receiving tags from OPC server into a machine where the LabView 7.1 and DSC Engine run.
The problem scenario is: When client application (developed in LabView 7.1 + DSC 7.1)
runs and startsreceiving tags from OPC server, then the memory usage and virtual memory
DSCEnigne occupies start to increase and keep on increasing. The system performance decreases
gradually (slow response to user actions) and after a certain time, the application completely
gets hanged. Virtual memory (Page File) is fully utilized by DSCEngine and it does not release
the virtual memory.
Also it is worth mentioning that I have enough virtual memory size i.e. 1440 MB.
My Machine is P-IV and running MS Windows XP SP 1.
A snapshot of Window Task manager for memory utilization is attached.
Kindly guide me how to solve this problem.
Prompt and detailed response will be highly appreciated.
Regards
0 Kudos
Message 1 of 2
(4,464 Views)
It is hard to narrow down a specific cause without seeing your code.  There could be large arrays that are generated, unclosed refferences, and many other things that can lead to memory leaks.

I have been running a server that uses DSC for over a year now and the memory has not increased significantly. 

If you want to look here as well, I had a memory issue where sqlserver was allocating more memory so that it could search faster, as the data got larger.  You need to manually specify a limit, the default is to allocate as much as possible, eventually bringing your computer to a halt.
Kenny

0 Kudos
Message 2 of 2
(4,449 Views)