Loading
[REM-3567] Memory grows unboundedly across connect/disconnect cycles (glibc arena proliferation)
changes regarding issue #3567 (closed)
- commit#1: by adding memory_trim(0) on connection end, the problem is minimized (in my test, without change +~200Mb on each connection close, with changes +~20Mb)
- commit#2: setting MALLOC_ARENA_MAX=2 by default (if environment variable not already set) minimized it a little bit more.
Edited by CalmarBen