Public repository of the Cosmic Linear Anisotropy Solving System (master for the most recent version of the standard code; GW_CLASS to include Cosmic Gravitational Wave Background anisotropies; classnet branch for acceleration with neutral networks; ExoCLASS branch for exotic energy injection; class_matter branch for FFTlog)
There is memory leak reproducible in case when Class object instance is ended with some Exception.
Example:
In this example, Class will complain with an exception bcs. of non-existing parameter, but still few bytes will stay in memory.
Depending on amount of exceptions, hundreds of GBs leak in few days.
With provided patch we observed much better behavior.
Here is graph of memory usage on compute node running code with standard Class: https://www.fzu.cz/~jose/temp/leak_grafana.png (3 days to OOM)