Skip to content

Commit 3091021

Browse files
authored
Revert "Run full GC when under very high memory pressure. (#2421)" (#2469)
This reverts commit 84bb117.
1 parent 69043ee commit 3091021

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/memory.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ function maybe_collect(will_block::Bool=false)
130130

131131
# finally, call the GC
132132
pre_gc_live = stats.live
133-
gc_time = Base.@elapsed GC.gc(pressure > 0.9 ? true : false)
133+
gc_time = Base.@elapsed GC.gc(false)
134134
post_gc_live = stats.live
135135
memory_freed = pre_gc_live - post_gc_live
136136
Base.@atomic stats.last_freed = memory_freed

0 commit comments

Comments
 (0)