Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: fe1cb1ff80c4ec38c2ec71d07bc81bfc29ef650b
Ticket: 1066755fffffffffffffffffffffffffffffffff
Surprisingly low recursion limit on Windows
User & Date: stevebold on 2004-11-25 16:56:56
Changes

  1. icomment:
    Logged In: YES 
    user_id=810219
    
    Tried ActiveTcl 8.4.6 on a Windows 2000 box and still saw a 
    limit of 395.
    
    Used 'dumpbin -headers tclsh84.exe' to look at the stack 
    size. On by own build
    of 8.4.3 I see:
    
              231860 size of stack reserve
                1000 size of stack commit
    
    On ActiveTcl 8.4.6 I see:
    
              100000 size of stack reserve
                1000 size of stack commit
    
    With ActiveTcl8.5 I see:
    
              100000 size of stack reserve
                1000 size of stack commit
    
    win/makefile.vc seems to be constant in specifying 2.3MB of 
    stack space for 8.4
    and 8.5. Dumpbin doesn't document the unit of stack size, it 
    appears to be
    in units of 10 bytes.
    
    So it looks like:
    a. ActiveTcl is built with the stack stack size set to the 
    Windows default of 1MB,
       not that in makefile.vc
    b. even 2.3MB is a little too small to achieve a stack depth of 
    1000
    
    
    
  2. login: "stevebold"
  3. mimetype: "text/plain"
  4. username: "stevebold"