JuliaInterop / Cxx.jl

The Julia C++ Interface
Other
757 stars 108 forks source link

Utilities to make julia garbage collection aware of C++ heap usage? #429

Closed twadleigh closed 2 years ago

twadleigh commented 5 years ago

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.

twadleigh commented 2 years ago

Cxx has bigger issues to worry about. Closing.