03-30-2009 04:15 PM
Hello NI,
First of all, thanks for the great hardware and software products you continue to develop and support! I've been working on an application for a sbRIO using LabVIEW and LabVIEW FPGA. My sbRIO-9601 has 64MB of volatile memory. My trouble is that only ~21MB of this is available for my program. I assume the other 43MB is used in the OS for the sbRIO that allows for TCP/IP communication, the LabVIEW runtime environment, etc.
My application makes use of the TCP/IP communication to control / monitor the sbRIO over ethernet. Is there any way I could disable some other processes that I'm not making use of and seem to be using volatile memory in the background?
To describe my problem symptoms more clearly:
I wrote a piece of software that uses a rather large amount of memory
I monitor the memory usage of the sbRIO using Distributed System Manager 8.6
Before deploying any of my code to the sbRIO, there is only 21MB memory available
The code successfully deploys, using most of the available 21MB to load fairly large data structures
When I start manipulating the data, more memory is required
The Distributed System Manager 8.6 memory usage on the sbRIO climbs as the program runs, eventually reaching 100% memory usage
The VI aborts without error; the program simply stops and waits to be run.
Thanks!
Idle
Solved! Go to Solution.
03-31-2009 01:23 PM
Idle;
What version of NI RIO do you have installed on the sbRIO? You can go in and install the minimal RIO installation in MAX, go to your sbRIO device then software right-click and go to add/remove software. From this wizard you can customize all of the installed components. I formatted my sbRIO and installed NI RIO 3.1 minimal and it only takes up 15MB. Try reformatting, and reinstalling your driver to a minimal version. Let me know if you have other questions.
Hunter
03-31-2009 06:22 PM
Perfect!
I reformatted and installed only the minimal software, which freed up plenty of memory for my program to run. I couldn't get NI Distributed System Manager to display memory usage information though, so I went back to MAX and installed System State Publisher 1.0.0 (Publishes CPU and memory usage to Distributed System Manager). This is now working fine.
The only downside is that I now have to debug my software, now that everything is running properly!
Thanks Hunter, your suggestion was a great help.
Idle
04-03-2009 05:22 PM
Idle
Since I thought other users might run into this problem I created a Knowledge Base Article to help others in the future.
thanks
Hunter