I am having memory issues when using python through PDI. I think that there is a copy that is done in the to_python function.
In the previously mentioned function, you use the pybind11::array constructor that does a copy.
You can check this issue too about constructing an pybind11::array
without a copy.
(Karol, I didn't do any tests with massif-visualizer :pager: )
In GitLab by @agueroud on Jan 17, 2022, 11:20
I am having memory issues when using python through PDI. I think that there is a copy that is done in the
to_python
function. In the previously mentioned function, you use thepybind11::array
constructor that does a copy.You can check this issue too about constructing an
pybind11::array
without a copy.(Karol, I didn't do any tests with massif-visualizer :pager: )