Quantcast
Channel: bash runs out of memory - Unix & Linux Stack Exchange
Browsing index pages (2 articles)

bash runs out of memory

This question is a fork of this SO question. Here is the MCVE version: $ PS1='Parent-$ ' Parent-$ type seq seq is /usr/bin/seq Parent-$ bash $ PS1='Child-$ ' Child-$ for i in $(seq 1000000000); do...

View Article


Answer by dataless for bash runs out of memory

MAX_ARG_STRLEN only applies when calling out to external programs. "for" is part of bash's syntax, and so bash will be processing that directly. And yes, it will run the seq command and capture the...

View Article

Browsing index pages (2 articles)


Latest Images