[SyneRBI/SIRF] Memory not freed up after deleting linear acquisition model (Issue #1377)

1 view
Skip to first unread message

hsw43

unread,
Feb 26, 2026, 12:44:00 PMFeb 26
to SyneRBI/SIRF, Subscribed
hsw43 created an issue (SyneRBI/SIRF#1377)

I noticed a memory leak while running my algorithm over all dataset in one job. After investigating, I think I have identified that it was due to memory built up after calling the get_linear_acquisition_model function.

I tried computing the forward projection of the linear model with the following options:

  1. acq_linear = self._acq_models[i].get_linear_acquisition_model()
    fwd = acq_linear.forward(self._x_one)
    del acq_linear

  2. fwd = self._acq_models[i].forward(self._x_one) - self._acq_models[i].get_constant_term()

The figure bellow shows the memory usage (after running a few dataset) of the two options. The purple one shows option one and the red one shows option 2.

Screenshot.2026-02-13.173404.png (view on web)


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF/issues/1377@github.com>

Kris Thielemans

unread,
Feb 26, 2026, 12:45:20 PMFeb 26
to SyneRBI/SIRF, Subscribed
KrisThielemans left a comment (SyneRBI/SIRF#1377)

@evgueni-ovtchinnikov how does get_linear_acquisition_model() handle shared ownership?


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF/issues/1377/3968179059@github.com>

Reply all
Reply to author
Forward
0 new messages