There is an issue with Mono on Linux where a memory leak in one of the Mono libraries will eventually deplete all your system memory. Running under VirtualBox with 1GB of RAM, after about 4000 acquisitions the system memory will be low enough that a crash/hang of the OS is coming.
The solution is outlined below at the wiki link, and involves updating to Mono 6.12.0.182 (which also greatly improves performance) and then updating the LibGdiPlus version 6.0.4 to version 6.0.5. In the screenshot you can see >10K acquisitions and memory isn’t depleting with every acquisition.
Hi @chris . I am also trying to trying to implement control of the QA403 using a Raspberry Pi.
I haven’t been able to get a Raspian OS to cooperate with Mono. I’ve tried two different Raspbian OSs, 64 bit Bookworm and Bullseye. And I’ve tried installing Mono from the official mono repositories (6.12) and the default repositories that come bundled with a fresh install of Raspbian (6.08). And I have installed libusb1.0.0-dev and created the USB permissions as per the Linux install instructions.
What setup did you use to get it working? Specifically, what version of Raspbian, what version of mono. Any other packages that were required. What “tricks” did you use for installing mono?
Thank you very much for sharing the link. Unfortunately I am unable to view until I have been granted permission. Hopefully you received a notification to allow sharing. If not then can try again.