diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2021-03-11 08:39:41 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2021-03-11 08:39:41 +0000 |
commit | ef9700816fd2bd521bab837ccd85e0a596aa3aa8 (patch) | |
tree | de386512df432a5f47010bca6b0f1720fe4b103b /grid.c | |
parent | 12cfd0d22b630ead9c6d739b13c3409485ea551c (diff) | |
download | rtmux-ef9700816fd2bd521bab837ccd85e0a596aa3aa8.tar.gz rtmux-ef9700816fd2bd521bab837ccd85e0a596aa3aa8.tar.bz2 rtmux-ef9700816fd2bd521bab837ccd85e0a596aa3aa8.zip |
malloc_trim is itself very poor and gets slower and slower as the heap becomes
more fragmented. Run it only once an hour. GitHub issue 2551.
Diffstat (limited to 'grid.c')
-rw-r--r-- | grid.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -265,9 +265,6 @@ grid_free_lines(struct grid *gd, u_int py, u_int ny) for (yy = py; yy < py + ny; yy++) grid_free_line(gd, yy); -#ifdef HAVE_MALLOC_TRIM - malloc_trim(0); -#endif } /* Create a new grid. */ |