Skip to content

Fix growing mem consumption

Fixes an issue with growing mem consumption. There are several possibilities to get a GlobalVectors from the SimpleMatrixVectorProvider via overloaded getVector methods. One of these getVector method allow for getting a vector without storing the id of the vector. After releasing such a vector there is no possibility to get the vector back from the cached (unused) vectors. Such vectors remain in the cache memory until the end of the program which leads to the growing mem consumption. The MR uses now always getVector methods with an id.

Edited by Dmitri Naumov

Merge request reports

Loading