in reply to Re: Perl Deep Recursion locks up modern linuxes?
in thread Perl Deep Recursion locks up modern linuxes?
Back when Re: Not able to release memory (malloc implementation) was written, glibc 2.x based Linux systems used ptmalloc, which is based on Doug Lea's malloc. This version of malloc uses mmap(2), rather than sbrk(2), when the chunk of memory requested is larger than some threshold value (typically 128K). So, an interesting test would be to adjust Dave's little memory eater program above to repeatedly push "large" strings (greater than 128K, say) and see if that makes any difference to machine lockup behaviour.
Further things you might try:
|
|---|