graphql-engine/preload-mimalloc/mimalloc/src
kodiakhq[bot] 4d86cd3a62 Fix #9447 bad memory usage
A fix for #9447

Before this change, for the workload in the ticket, we saw a memory stay at around 4 GB an hour after the workload ended.  after this change we see both a lower memory high watermark, and also see memory come back to baseline at the end as we expect (after the `HASURA_GRAPHQL_PG_CONN_LIFETIME` and a subsequent `_idleStaleReaperThread` interval elapses).  But note the numbers given on any given machine may be slightly different, since the behavior depends on the version of glibc and processor speed (Since the test case depends on the server being overloaded).

This might also help some users commenting in https://github.com/hasura/graphql-engine/issues/9592

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9823
GitOrigin-RevId: 5650aa42d10d46c418c21686983a982d69011884
2023-07-25 11:24:57 +00:00
..
prim Fix #9447 bad memory usage 2023-07-25 11:24:57 +00:00
alloc-aligned.c Fix #9447 bad memory usage 2023-07-25 11:24:57 +00:00
alloc-override.c Fix #9447 bad memory usage 2023-07-25 11:24:57 +00:00
alloc-posix.c Fix #9447 bad memory usage 2023-07-25 11:24:57 +00:00
alloc.c Fix #9447 bad memory usage 2023-07-25 11:24:57 +00:00
arena.c Fix #9447 bad memory usage 2023-07-25 11:24:57 +00:00
bitmap.c Fix #9447 bad memory usage 2023-07-25 11:24:57 +00:00
bitmap.h Fix #9447 bad memory usage 2023-07-25 11:24:57 +00:00
heap.c Fix #9447 bad memory usage 2023-07-25 11:24:57 +00:00
init.c Fix #9447 bad memory usage 2023-07-25 11:24:57 +00:00
options.c Fix #9447 bad memory usage 2023-07-25 11:24:57 +00:00
os.c Fix #9447 bad memory usage 2023-07-25 11:24:57 +00:00
page-queue.c Fix #9447 bad memory usage 2023-07-25 11:24:57 +00:00
page.c Fix #9447 bad memory usage 2023-07-25 11:24:57 +00:00
random.c Fix #9447 bad memory usage 2023-07-25 11:24:57 +00:00
region.c Fix #9447 bad memory usage 2023-07-25 11:24:57 +00:00
segment-cache.c Fix #9447 bad memory usage 2023-07-25 11:24:57 +00:00
segment.c Fix #9447 bad memory usage 2023-07-25 11:24:57 +00:00
static.c Fix #9447 bad memory usage 2023-07-25 11:24:57 +00:00
stats.c Fix #9447 bad memory usage 2023-07-25 11:24:57 +00:00