LabVIEW DSC 7.x uses the Citadel5 database to store trace data and MSDE 2000 (Microsoft SQL Server 2000) to store alarm and event data.
You mentioned that the msslql.mdf file was growing to over 1Gb in a one to two week time frame. The most likely reason that this is happening is that you have many alarms and events configured. I recommend checking any alarm or event related deadband settings to make sure you aren't logging alarms and events unnecessarily. Also note that MDSE databases are limited to 2Gb. Citadel performance will degrade significantly if you try to log alarms and events past this limit.
The memory usage issue for MSSQL is also related to the size of the alarms and events database. MSSQL runs an indexing service in the background that takes up a lot of memory and CPU time. This issue should also be resolved if you reduce the amount of alarms and events that are being logged.
If the alarm and event logging that you currently have configured is absolutely necessary I recommend logging to a new databse each week or so. This could be accomplished manually through the tag configuration editor, or programatically via LabVIEW. Each time you start a new database I recommend detaching (but not deleting) the previous database.
Nick F
National Instruments
~~