Board index » delphi » Stack Size

Stack Size

According to MemMon, the stack in my application gets close to 17K (it's
over the
default maximum of 16384).

How can I determine what is using so much stack space?  Most of our
variables are
either globals or object variables.  I don't know of any huge local
variables in our
procedures or functions.  For the most part, they are integers and a couple
of strings.

Is there a way I can set a breakpoint on the stack size?  Is there a way I
can determine
the amount of stack used from within my code?

Thanks,

Jon Robertson

 

Re:Stack Size


Most of the component writers (like Woll2Woll Soft. and Turbopower)
recommend a stack size of at least 32000 for db apps.
I changed all my gallery projects and most of my trouble went away !

Christian

On 20 Nov 1996 16:45:03 GMT, "Jon Robertson" <to...@flash.net> wrote:

Quote
>According to MemMon, the stack in my application gets close to 17K (it's
>over the
>default maximum of 16384).

>How can I determine what is using so much stack space?  Most of our
>variables are
>either globals or object variables.  I don't know of any huge local
>variables in our
>procedures or functions.  For the most part, they are integers and a couple
>of strings.

>Is there a way I can set a breakpoint on the stack size?  Is there a way I
>can determine
>the amount of stack used from within my code?

>Thanks,

>Jon Robertson

Christian Kaas, c.k...@osn.de

- Show quoted text -

Quote
>Softwareentwicklung u. -beratung
>640kB ought to be enough memory ! - Bill Gates 1981

Other Threads