08-12-2020 10:20 AM
I was always amazed by the skills of the early chess programmers. It is hard to imagine that a fully functioning chess program can fit on a 4 bit microcontroller with 2k Rom and 80 bytes (160 nibbles) of ram. (yes 80, not 80k!)
04-21-2022 05:03 AM
Early days programming is really something else...
But could you eventually resolve this issue? I am seeing similar behavior myself. Would greatly appreciate if you could follow up on this one!
04-21-2022 02:30 PM
@tvirag
No resolution really. I'm just redoing build until it succeeds. Sometimes do few manual retries, sometimes use Jenkins with file size post build checks and auto rebuilds as needed.
By the way - i'm using Labview 2018x32. Maybe switching to x64 or newer version of LV will help with that, haven't tried yet.
www.xinstruments.com - Custom Software for Industrial Automation
www.hdrconverter.com - Picture processing made easy
04-22-2022 08:56 AM
Have you monitored the memory usage during the build?
IIRC, 2GB is the (normal) limit for 32 bit applications. LabVIEW, 8000 VIs in memory, copies for the build maybe, additional resources in use, it could be a problem... LabVIEW keeps VI data in memory, so maybe this could cause the random factor?
I'd expect a hard "out of memory" crash, but who knows...
04-22-2022 01:23 PM
Your build doesn't crash so it's not exactly the same symptoms, but I've seen the The GDI Object limit problem come up as a build problem in large projects before.
You could try increasing the GDI limit in the registry and see if that helps. It certainly can't hurt.
04-24-2022 04:31 PM
Yes i've increased GDI limit, without it build crashes 100%. The point is that there is a problem which manifests in 144KB exe file after successful build. Logs also don't show any problems.
Have been monitoring memory all the way. Max memory usage goes to 3.2-3.4 GB depending on PC where build happens. We've tried it on about 10 different PCs and results are quire similar.
www.xinstruments.com - Custom Software for Industrial Automation
www.hdrconverter.com - Picture processing made easy
04-24-2022 05:55 PM
With version 18 I sometimes saw similar build failure. Cleaning the build always resulted in successful builds. I never searched for a root cause once I had that workaround.
04-25-2022 04:53 PM
What do you mean by “cleaning the build”?
www.xinstruments.com - Custom Software for Industrial Automation
www.hdrconverter.com - Picture processing made easy
04-25-2022 05:42 PM
I assume he means right-clicking the build spec and selecting "Clean"?
04-26-2022 10:50 AM
@Kyle97330 wrote:
I assume he means right-clicking the build spec and selecting "Clean"?
Yes