Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 154747b9766f4c33d48f51a7c7ca9dd771e7d372
Ticket: 3166410fffffffffffffffffffffffffffffffff
"out of stack space" on AIX
User & Date: starwalker2000 on 2011-01-31 08:47:34
Changes

  1. icomment:
    I think the stack size is correct. The stack size on AIX can be set by the file /etc/security/limits which set stack to -1 and means "unlimited".
    
    The limitations are as follows:
    # ulimit -a
    time(seconds)        unlimited
    file(blocks)         unlimited
    data(kbytes)         unlimited
    stack(kbytes)        4194304
    memory(kbytes)       unlimited
    coredump(blocks)     2097151
    nofiles(descriptors) 2000
    
    For 32-bits program, the stack size is nearly 2G. For 64-bits program, the stack size is nearly 4G.
    
    If I change the stack limitation to a smaller number, for example 65536, which makes the stack size to 32M. The 32-bits tclsh won't core dump due to there is no stack bound problem.
    
    
  2. login: "starwalker2000"
  3. mimetype: "text/plain"
  4. username: "starwalker2000"