Skip to content

Commit

Permalink
manual garbage colllection added
Browse files Browse the repository at this point in the history
  • Loading branch information
dpabon committed Oct 26, 2023
1 parent 1072956 commit 67755f2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/space4time.jl
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ function s4time(
#println(size(clim_var_cube_in))
#println(size(pfts_cube_in))
#println(size(out_3))
GC.gc()
sigma1 = sigma1_glob[Threads.threadid()]
prederr = prederr_glob[Threads.threadid()]
predres = predres_glob[Threads.threadid()]
Expand Down Expand Up @@ -529,6 +530,7 @@ function s4time(
end
#println(it)
end
GC.gc()
end


Expand Down

0 comments on commit 67755f2

Please sign in to comment.