Re: Stack Allocations: Reserve/Commit...
From: Paul G. Tobey [eMVP] (ptobey)
Date: 02/23/05
- Next message: Ginny Caughey [MVP]: "Re: Binary of flat File VS CE Database ?"
- Previous message: James Hunter Ross: "Stack Allocations: Reserve/Commit..."
- In reply to: James Hunter Ross: "Stack Allocations: Reserve/Commit..."
- Next in thread: James Hunter Ross: "Re: Stack Allocations: Reserve/Commit..."
- Reply: James Hunter Ross: "Re: Stack Allocations: Reserve/Commit..."
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 23 Feb 2005 11:21:09 -0700
I've never changed either of those two settings. What are you allocating on
the stack? Are you making recursive calls or something?
Paul T.
"James Hunter Ross" <james.ross@oneilsoft.com> wrote in message
news:O5nM0NdGFHA.2356@TK2MSFTNGP12.phx.gbl...
> Friends,
>
> I did a post a few days ago inquiring about some odd (really odd) behavior
> after we switched from EVC++ 3.0 to 4.0. One reply I received (thanks
> Vyacheslav) mentioned inadequate stack allocation as his source of "odd"
> crashes. (Although not related to the change from 3.0 to 4.0.)
>
> Well, it looks like Vyacheslav was on to something; if I shrink the
> default "Reserve" link option from 0x10000 to 0x08000 I can get very
> similar crashes much sooner. (Not that this is science, but it's all I've
> got right now.)
>
> The default settings for new projects are Reserve=0x10000 and
> Commit=0x1000. I'm looking for some guidance or advice: Do you folks
> typically keep the default settings? How do you decide what settings to
> use? How might I know if I'm close to running out of stack space? Can I
> approach this scientifically? Does Reserve or Commit or both have
> significance?
>
> Our app has become unstable, and no code has changed; just 3.0 to 4.0
> migration, and these stack setting have not changed.
>
> Any words or pointers or shared thoughts and experience will be greatly
> appreciated!
>
> Thanks in advance for your time! (I hope I can be of assistance some
> day!)
>
> James Hunter Ross
>
>
- Next message: Ginny Caughey [MVP]: "Re: Binary of flat File VS CE Database ?"
- Previous message: James Hunter Ross: "Stack Allocations: Reserve/Commit..."
- In reply to: James Hunter Ross: "Stack Allocations: Reserve/Commit..."
- Next in thread: James Hunter Ross: "Re: Stack Allocations: Reserve/Commit..."
- Reply: James Hunter Ross: "Re: Stack Allocations: Reserve/Commit..."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|