For When You Can't Have The Real Thing
[ start | index | login ]
start > Linux > modifying stack limits

modifying stack limits

Created by dave. Last edited by dave, 16 years and 320 days ago. Viewed 2,926 times. #2
[diff] [history] [edit] [rdf]
The stack limits in Linux may be set within the tcsh or bash shells as follows:

In bash and similar shells you can use theese three commands:

  • ulimit -a
  • ulimit -Ha
  • ulimit -s unlimited
that will respectively print soft limits, hard limits and remove the stack limit.

In tcsh and similar shells the commands would look like this:

  • limit
  • limit -h
  • limit s unlimited
After removing the stack limit try runing your program from the same shell.
no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful: | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt