David2004
21 years ago
LabView leaks memory when used with TestStand to log results to a
database over 3 days eventually crashing the PC
Hi,
We are attempting to setup an endurance test rig, that will eventually
run for over 70days non-stop, using TestStand 3.0 and LabView 7.1 and
after only 3 days we are already seeing LabView soaking up over 300 of
MB of system resources to the point where it crashes the PC.
The PC is a 3.4GHz Dell with 256MB RAM and running Windows XP with no
other software running besides TestStand and LabView (ie.. plenty of
resources/power!).
The problem originally arose when we had 'on-the-fly' html Report
Generation turned on in TestStand whereby after running an endurance
test for over 16hrs the PC was found to be using over 300MB of memory
and then the test ground to a halt and eventually the PC crashed.
Myself and Andy Long (Cyth Systems)asumed that this was related to
having a large and rapidly growing html file open for the 'on-the-fly'
html Report Generation (confirmed when we tried to open the resulting
30MB html file on another unrelated PC that also ground to a halt
using 100's of MB to open the file).
We thought we had solved this problem when Andy Long set us up with
Database logging of results and turned off the html report generation,
and for a while everything seemed well but now we find that after
running this endurance test for 3 days we have the same large memory
usage and the PC ultimately runs out of memory and crashes.
It looks as though the changover from live html report generation to
database logging of results has bought us a little extra time but the
original problem is still there. It may be that the problem is infact
unrelated to the method of logging the results (red herring?).
This endurance rig needs to run for over 70 days for some tests so the
fact that the PC runs out of resources after only a few days is a
major concern and a tricky problem for us to pinpoint.
The additional hardware is;
- NI PCI GPIB card
- NI PCI CAN 2-port card
- USB to 8 port serial adaptor
Various error messages are generated all as byproducts of the rapidly
diminishing memory available and the PC grinding to a halt. The main
fault being the windows 'Virtual Memory Low' message. Other faults
include serial com port failures and GPIB comms failures most
definately due to hardware/software time-outs occuring as the LabView
software starts to run more and more slowly.
Any help you can offer is much appreciated.
Regards,
David
database over 3 days eventually crashing the PC
Hi,
We are attempting to setup an endurance test rig, that will eventually
run for over 70days non-stop, using TestStand 3.0 and LabView 7.1 and
after only 3 days we are already seeing LabView soaking up over 300 of
MB of system resources to the point where it crashes the PC.
The PC is a 3.4GHz Dell with 256MB RAM and running Windows XP with no
other software running besides TestStand and LabView (ie.. plenty of
resources/power!).
The problem originally arose when we had 'on-the-fly' html Report
Generation turned on in TestStand whereby after running an endurance
test for over 16hrs the PC was found to be using over 300MB of memory
and then the test ground to a halt and eventually the PC crashed.
Myself and Andy Long (Cyth Systems)asumed that this was related to
having a large and rapidly growing html file open for the 'on-the-fly'
html Report Generation (confirmed when we tried to open the resulting
30MB html file on another unrelated PC that also ground to a halt
using 100's of MB to open the file).
We thought we had solved this problem when Andy Long set us up with
Database logging of results and turned off the html report generation,
and for a while everything seemed well but now we find that after
running this endurance test for 3 days we have the same large memory
usage and the PC ultimately runs out of memory and crashes.
It looks as though the changover from live html report generation to
database logging of results has bought us a little extra time but the
original problem is still there. It may be that the problem is infact
unrelated to the method of logging the results (red herring?).
This endurance rig needs to run for over 70 days for some tests so the
fact that the PC runs out of resources after only a few days is a
major concern and a tricky problem for us to pinpoint.
The additional hardware is;
- NI PCI GPIB card
- NI PCI CAN 2-port card
- USB to 8 port serial adaptor
Various error messages are generated all as byproducts of the rapidly
diminishing memory available and the PC grinding to a halt. The main
fault being the windows 'Virtual Memory Low' message. Other faults
include serial com port failures and GPIB comms failures most
definately due to hardware/software time-outs occuring as the LabView
software starts to run more and more slowly.
Any help you can offer is much appreciated.
Regards,
David