Hi Sathyendra,
I have dozens of RT nodes running that use VI server techniques to serve data to a host. In my case they are FP RT nodes which are even more challenging to "shoe-horn" an application into (ie Not enough memory to debug, so I have to use exe's only!).
I have not seen an issue with memory usage growing.
The "request deallocation" will only be effective if the VI is called dynamically and ALL references to it are closed (on Windows anyway) and the VI is unloaded from memory. See this link for more info on deallocating memory.
http://forums.ni.com/ni/board/message?board.id=170&message.id=117552#M117552
In my experience (I may be wrong!) RT does not readily give memory back once it asks for it.
RT applications are a special form of LV applications that require a bit more thought than normal non-RT LV apps. Not only timing but memory usage must be kept in mind if the application is going to run for an extended period of time.
I do not have the time to give you a complete list (even if I thought I knew what a complete list was) but I will share some of the big issues.
1) NEVER, NEVER, NEVER use build array. Instead allocate a buffer at the start of the program and do all of your work "in-place".
2) "Strings are bad." (Mr Mackey, South Park) Since strings can be of vaiable length, their memory requirements can get out of control. THIS INCLUDES ERROR CLUSTERS!
Now if these two suggestions do not help, PLEASE post the code that runs on the RT node. WE can take a look and comment on other fine points.
Trying to help,
Ben
Message Edited by Ben on 04-21-2005 07:21 AM