There are many programming languages where some frequent programming
patterns (like non tail recursion) use more stack than the default of
8192. People normally increase the stack limit in such cases, e.g.

 # ulimit -S -s 800000

The run time increase is linear in stack limit:

 # time run-this-one echo

real 3,763s  user 3,012s  syst 0,249s  busy 86,65%
real 6,954s  user 6,028s  syst 0,425s  busy 92,78% (with doubled stack limit)

Or even:

 # ulimit -S -s unlimited
 # time run-this-one echo
pgrep: cannot allocate 4611686018427387903 bytes

real 0,658s  user 0,071s  syst 0,076s  busy 22,31%

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1917157

Title:
  run-this-one is very slow

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/run-one/+bug/1917157/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to