LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error: "memory.cpp in line 876"

I have a VI in LAbview 6.0.2 that gives me a "memory.cpp" error when I try to run it. I tried deleting the "dir.mnu" as was suggested, but that did not resolve the issue. I also tried recompiling all the associated VI's, but that did not solve it either. What else can I try?
0 Kudos
Message 1 of 2
(2,600 Views)
> I have a VI in LAbview 6.0.2 that gives me a "memory.cpp" error when I
> try to run it. I tried deleting the "dir.mnu" as was suggested, but
> that did not resolve the issue. I also tried recompiling all the
> associated VI's, but that did not solve it either. What else can I
> try?

About 95% of the time, the next step is to look for DLL nodes or CIN
nodes. The likely culprit is that a string or array is being handed to
the C code, which either overwrites memory, or leaves the array/string
data structure to an inconsistent state leading LV to overwrite memory.
Anyway, this is a very common cause.

If you eliminate that possibility, the remainder are usually some sort
of corruption saved in the VI, but normally those will not even load.

To simplif
y it before submitting it to support, please try executing
individual subVIs and see if the problem is limited to a particular VI
or a smaller set of VIs.

Greg McKaskle
0 Kudos
Message 2 of 2
(2,600 Views)