LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error #3, "memory.cpp", line 865(V6.0) 876(V6.0.2)

I used a VI one day with no problems, and the next I got this message - "Error #3, "memory.cpp", line 865" I did not even close the VI or modify it an anyway.

I was first running Labview V6.0 and tried upgrading to V6.0.2 but the error continued (now on line 876). I also tried recompiling and backup copies of the VI and SubVIs, which did not work either. A suggested fix is to delete "dir.mnu", which likewise did nothing.

To me it looks like the problem rests in the Labview "Copy" command, which I use to copy a file to another directory, because when I delete it it works fine again.

Any suggestions would be greatly appreciated!
0 Kudos
Message 1 of 2
(2,621 Views)
Hello,
It seems that while copying your file, memory is filling up too quickly for LabVIEW to clean it up and it's crashing LabVIEW. View the memory usage in the Task Manager to confirm this.

LabVIEW Internal Errors (Failure in XXX.c / XXX.cpp at line YYY)

If the Copy function is not the cause of the error, 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 possib
ility, the remainder are usually some sort of corruption saved in the VI, but normally those will not even load.

To simplify 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.

Zvezdana S.
0 Kudos
Message 2 of 2
(2,621 Views)