SuSE Support Database

Title: unsufficient virtual space/stack to run the programm

---

Mainpage ---- Searchform ---- History ---- Versions ---- Categories ---- Contents
Deutsch
---

unsufficient virtual space/stack to run the programm

Applicable to
S.u.S.E. version: all
Kernel version: all

Symptom:

During the execution of a programme the error message:
unsufficient virtual space/stack to run the programm appears.

Cause:

The maximum stack, which is fixed for all users, is set by default by kernel. In this case it concerns the stack memory, which is required during the execution of particular programmes e.g. through recursive function calls, calculations, etc. The superuser has available an unlimited stack capacity. The usual user, however, does not. You must be satisfied with a maximum of 8192 KB.

Solution:

It is necessary to interfere in kernel to increase the stack capacity. The maximum stack capacity is defined in the file /usr/src/linux/include/linux/sched.h. The variable _STK_LIM defines this capacity. It is set to 8*1024*1024 by default.

---

Keywords: STACK, UNSUFFICIENT, SPACE, BASH, ULIMIT

---

Mainpage ---- Searchform ---- History ---- Versions ---- Categories ---- Contents
Deutsch
---

SDB-stack, Copyright SuSE GmbH, Nuremberg, Germany - Version:
Impressum - Last generated: 24. Feb 1999 15:24:42 by maddin with sdb_gen 1.00.0