Parallel decorator on Numba routine featuring race condition
I have the following routine aiming to calculate in parallel different SVD of random matrices:
Numb @njit @jitclass memory accumulation in loops
We are encountering a memory accumulation issue when using a Numba class to append arrays of floats to a list within a loop. Despite clearing the list before each iteration, the memory usage continues to grow proportionally with the loop size. Interestingly, this problem only arises when the class is implemented using Numba; it doesn’t occur with a standard Python class.