delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/07/12:32:50

From: "John S. Fine" <johnfine AT erols DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: PESTACK
Date: Thu, 07 May 1998 12:24:41 -0400
Organization: Erol's Internet Services
Lines: 20
Message-ID: <3551E049.93@erols.com>
Reply-To: johnfine AT erols DOT com
NNTP-Posting-Host: 207-172-234-137.s10.as10.bsd.erols.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Could someone explain the two parameters (size and commited) in PESTACK?

I am using RSXNTDJ and I got a crash on the sequence

  sub esp, 4E00h
  push edi

The stack size was 1MB.  The commited was 8K and only 4K was used when
the above code tried to use 19.5 K more.

I would have guessed that committed was the initial allocation and
size was the amount it could grow to.

I fixed my problem (probably not permanently) by setting the commited to
80K (leaving size at 1Mb).  Does this mean that growing the stack
doesn't work or do I misunderstand the parameters?

-- 
http://www.erols.com/johnfine/
http://www.geocities.com/SiliconValley/Peaks/8600/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019