Open saraedum opened 4 days ago
The following quickly eats through my RAM:
import cppyy cppyy.cppdef(r""" #include <list> std::list<int> f() { return std::list<int>(3); } """) while True: _ = list(cppyy.gbl.f())
However, if I replace list with vector, memory consumption is stable.
list
vector
This is with cppyy 3.1.2 from conda-forge on x86_64 Arch Linux.
Same with a pip installed cppyy 3.1.2.
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.