I'd like to solicit ideas on how to help make julia more aware of the memory usage of C++ or even let julia manage C++ memory.
I not infrequently run into situations where I get std::bad_alloc exceptions. Sometimes I can put them off with the judicious use of x = nothing before doing another computation that will use a lot of memory, but I'd like to have something more predictable.
I'd like to solicit ideas on how to help make julia more aware of the memory usage of C++ or even let julia manage C++ memory.
I not infrequently run into situations where I get
std::bad_alloc
exceptions. Sometimes I can put them off with the judicious use ofx = nothing
before doing another computation that will use a lot of memory, but I'd like to have something more predictable.