Open saraedum opened 4 months ago
Same with a pip installed cppyy 3.1.2.
Fixed in repo (and leak check test added). The reason for the difference between list
and vector
is that std::vector
has its own ("high performance") iterator. The cause was an incorrect lifeline direction (causing a circular dependency) in the generic STL iterator protocol, which was unnecessary anyway b/c the iterator pythonization already added a lifeline.
The following quickly eats through my RAM:
However, if I replace
list
withvector
, memory consumption is stable.This is with cppyy 3.1.2 from conda-forge on x86_64 Arch Linux.