Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Bug#245678: zsh: built-in rm -rf fills up the memory



On Sat, 8 May 2004, Clint Adams wrote:

> Should H_ISIZE be changed to the page size when USE_MMAP is defined, or
> is there a reason to keep it the sizeof(union mem_align) ?

Changing H_ISIZE won't fix the underlying cause of the bug, it'll just 
cause it to manifest only once every 4096/sizeof(union mem_align) calls
rather than on every call.

We need to find out what code branch is calling zhalloc() on every small
increment, and why that code branch is being taken.



Messages sorted by: Reverse Date, Date, Thread, Author