LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

low virtual memory

i am running a vi which uses telnet, and has 5 picture indicators on the front panel with 2 or 3 Jpeg's in each of them. after running the vi for approx 30 mins, virtual memory runs out.
0 Kudos
Message 1 of 6
(3,179 Views)
What is the program doing? Somehow you are allocating an awful lot of memory.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 6
(3,179 Views)
nothing exciting, just occasionally switching between pictures in the main panel, comms with fieldpoint, and talking over telnet. the main panel with the pics is 5Mb and the full dev library is 6.2Mb
0 Kudos
Message 3 of 6
(3,179 Views)
A couple things to try:
1. Can you post the vi in question?
2. You can use the vi profiler to see which aspect is using the memory over time. Turn it on under Tools->Advanced->profile vis, check "Profile Memory Usage" and then run the program.
3. Which OS are you using? What is your hard drive free space? What is your physical memory size. For NT based windows OSs (NT, XP, 2000, ME) the Task Manager will also give you memory statistics (ctlr-alt-del to bring it up). In 95/98 you can get the same info using the Start Menu->Accesories->System Tools->System Monitor.

Hope it helps!
~js


2006 Ultimate LabVIEW G-eek.

0 Kudos
Message 4 of 6
(3,179 Views)
Can you post the code?

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 5 of 6
(3,179 Views)
i have solved it, it was a combination of 2 problems, a Telnet open connection in a while loop and a FP open connection in a while loop. both solved by having the vi's run once at the begining of the program.
0 Kudos
Message 6 of 6
(3,179 Views)