Skip to content

Commit a981fbc

Browse files
authored
Merge pull request #93 from JuliaData/jps/disable-mem-reserved-default
Disable memory reservation check by default
2 parents b7828f7 + 0a75e5e commit a981fbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/datastore.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ isondisk(id::Int) =
386386
isinmemory(x::DRef) = isinmemory(x.id)
387387
isondisk(x::DRef) = isondisk(x.id)
388388

389-
const MEM_RESERVED = Ref{UInt}(512 * (1024^2)) # Reserve 512MB of RAM for OS
389+
const MEM_RESERVED = Ref{UInt}(0) # O to avoid excessive GC
390390
const MEM_RESERVE_LOCK = Threads.ReentrantLock()
391391
const MEM_RESERVE_SWEEPS = Ref{Int}(3)
392392

0 commit comments

Comments
 (0)