Hi All,
I have a problem whith a built executable where at random intervals I get a windows dialogue saying "Not enough Memory to complete this operation"
I have searched through the forums and although there are similar posts I have not been able to get rid of this message by trying several things. My project is a cRIO which connects and disconnects using the STM messenger service. The HOST computer is a Producer consumer design pattern, the crio is a producer consumer with the producer being incoming TCP IP messages essentially. The windows 8 machine shows no signs of running out of memory. There is plenty available (8GB) and during normal execution the program is only using roughly 200MB and is stable.
Some of the things I have tried from reading similar threads but have had no luck.
Put a delay in TCP Send function from the cRIO (1mS).
Disabled all writing to files for polled data / results.
Run in windows 7 and XP compatibility mode and as administrator.
Move whole executable into my Documents after suspecting file permissions.
Made whole of install directory full access permissions.
Disabled firewall and uninstalled anti Virus as its not connected to T'internet.
Monitored cached data and disk writes using perfmon.
Monitored Threads and seem stable.
This build was also tested on a windows 7 machine and has been run overnight with no problems. the executable also runs on my development machine with no problems. The windows 8 machine has no NI max installed (Just the RT engine), the windows 7 does along with VISA drivers etc.
When the "Not Enough...." Dialogue appears the exe hangs untill the prompt is removed. Once the dialogue is removed the TCP Queue then catches up with Queued data so I know that there are no queues increasing in size (It has happily stored all polled data from an overnight run and then dequeues all this information to the front panel no problem)..
Build PC:
Windows 7 (64 bit) - LabVIEW 2013 (32 bit) full development.
Target PC (with error message)
Windows 8 (64 bit) - LabVIEW 2013 RTE (Installed from an installer built on machine above using recommended settings)
Other Test Target (With no problems)
Windows 7 64 bit - LabVIEW 2013 RTE, MAX and VISA Installed.
Is there any way to debug this some more?? Where might I find this information in the windows event logs / perfmon etc??
Many Thanks in advance
Craig
10 years+ LabVIEW experience.