On Thu, Jun 26, 2014 at 11:12, sven falempin wrote:

> What is a 'good maximum' size for a buffer like this in  amd64 world and
> arm ?
> From which amount should we consider to not use the stack. (I know it
> depends the type of function,
> but lets focus on this case )

Stack rlimit is 4096K, so there shouldn't be anything wrong with using
some number up to a few hundred K. After about a megabyte I'd probably
start asking questions, but only because a fixed size buffer that
large is unusual, regardless of where it's been allocated.

Reply via email to