◆ performAntaresSimulation()
| void ProblemGeneration::performAntaresSimulation |
( |
const std::filesystem::path & | study_dir | ) |
|
|
virtual |
Antares simulator allocate a lot of memory Even if there is no memory leak not all freed memory become available. Allocator or OS may cache some memory to reuse it With malloc_trim(0) we free all memory that is not used anymore to be reclaimed by the program It is necessary to avoid allocating Xpansion memory on top of the unavailable memory from simulator
The documentation for this class was generated from the following files:
- src/cpp/lpnamer/main/include/antares-xpansion/lpnamer/main/ProblemGeneration.h
- src/cpp/lpnamer/main/ProblemGeneration.cpp