Spine Toolbox is an open source Python package to manage data, scenarios and workflows for modelling and simulation. You can have your local workflow, but work as a team through version control and SQL databases.
I changed unit tests such that they clean up memory reserved by Qt in 7c7c6f1d867044a1c24447ada309c74bcd6d0c3f which allows me to run the tests on a Linux virtual machine with limited memory resources. The change, however, seems to have made the tests crash randomly on a segfault.
Also, even with the clean up, the memory consumption increases almost monotonically during the tests which may be a sign of a memory leak. Either we could clean up more rigorously in the tests, or we have some QObjects that never get deleted while Toolbox or DB editor is running.
I firmly believe the segfaults happened only on Python 3.8 ;) Since we have now dropped support for that, we should not see the segfaults again. Please reopen this is if I am proven wrong.
I changed unit tests such that they clean up memory reserved by Qt in 7c7c6f1d867044a1c24447ada309c74bcd6d0c3f which allows me to run the tests on a Linux virtual machine with limited memory resources. The change, however, seems to have made the tests crash randomly on a segfault.
Also, even with the clean up, the memory consumption increases almost monotonically during the tests which may be a sign of a memory leak. Either we could clean up more rigorously in the tests, or we have some QObjects that never get deleted while Toolbox or DB editor is running.