mirror of https://github.com/tmux/tmux.git
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.pull/2614/head
parent
12cfd0d22b
commit
ef9700816f
3
grid.c
3
grid.c
|
@ -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. */
|
||||
|
|
Loading…
Reference in New Issue