Skip to content

Commit

Permalink
Turn off MIMALLOC msg's and warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
hrue committed Dec 5, 2024
1 parent cd4da43 commit 327bea7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rinla/R/inla.R
Original file line number Diff line number Diff line change
Expand Up @@ -2747,6 +2747,9 @@ formals(inla.core) <- formals(inla.core.safe) <- formals(inla)
"MIMALLOC_ARENA_EAGER_COMMIT",
"MIMALLOC_PURGE_DELAY",
"MIMALLOC_PURGE_DECOMMITS",
"MIMALLOC_SHOW_STATS",
"MIMALLOC_VERBOSE",
"MIMALLOC_SHOW_ERRORS",
"MALLOC_CONF",
"TSAN_OPTIONS")
## save current values
Expand All @@ -2757,6 +2760,9 @@ formals(inla.core) <- formals(inla.core.safe) <- formals(inla)
MIMALLOC_ARENA_EAGER_COMMIT = 1,
MIMALLOC_PURGE_DELAY = -1,
MIMALLOC_PURGE_DECOMMITS = 0,
MIMALLOC_SHOW_STATS = 0,
MIMALLOC_VERBOSE = 0,
MIMALLOC_SHOW_ERRORS = 0,
MALLOC_CONF = "abort_conf:true,metadata_thp:always",
TSAN_OPTIONS = "ignore_noninstrumented_modules=1"
)
Expand Down

0 comments on commit 327bea7

Please sign in to comment.