Skip to content

Commit

Permalink
Another gc
Browse files Browse the repository at this point in the history
Co-authored-by: Johnny Chen <johnnychen94@hotmail.com>
  • Loading branch information
timholy and johnnychen94 authored May 24, 2022
1 parent 16a6535 commit 332fa76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/TiffImages.jl
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ mktemp() do fpath, _
for t in Any[N0f8, N0f16, Float32, Float64]
for c in Any[Gray, GrayA, RGB, RGBA], sz in ((2, 2), (2, 2, 2))
TiffImages.save(fpath, rand(c{t}, sz))
Sys.iswindows() && GC.gc()
TiffImages.load(fpath)
TiffImages.load(fpath; mmap=true)
TiffImages.load(fpath; lazyio=true)
Expand Down

0 comments on commit 332fa76

Please sign in to comment.