#2194: Memory increase during regridding
| Reporter: | Wolfgang Kastaun |
| Status: | wontfix |
| Milestone: | ET_2020_04 |
| Version: | development version |
| Type: | bug |
| Priority: | minor |
| Component: | Other |
Comment (by Roland Haas):
I ran the “trunk” code once more, this time advising malloc to return memory to the OS as soon as possible by setting MALLOC_TRIM_THRESHOLD_=0and MALLOC_TOP_PAD_=0 (see man mallopt) and this reduces RSS significantly:
For glibc (ie GNU/Linux, no tcmalloc, no jemalloc) one can use the function malloc_trim to do the same thing. A solution without having to modify code is to set the two variables mentioned above in your RunScript:
export MALLOC_TRIM_THRESHOLD_=0 export MALLOC_TOP_PAD_=0
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2194/memory-increase-during-regridding