You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the Chinese community of Julia, someone opened a topic complaining that Julia's code took up too much memory.
After the performance test (julia --track-allocation=user filename.jl), I found that Base.circshift took up the most memory.
After some searching, I found this package, and by using this package, the memory consumption problem was solved.
using Base.circshift: "6.694 s (3507 allocations: 2.55 GiB)"
allocation count (estimate using --track-allocation flag): 2617296789 @views f[:, :, k] .= circshift(f[:, :, k], [cx[k], cy[k]])
No description provided.
The text was updated successfully, but these errors were encountered: