How can i make the coding technique to be heap-intensive one.
Also please do suggest where exactly i can increase the stack size in
constructor..???
Regards
>Subject: Stack Overflow
>From: "DNR" <[EMAIL PROTECTED]>
>Date: Wed, 31 Jul 2002 10:00:54 +0600
>
>What are the known reasons for having the error "stack Overflow" ?
One known reason: You've used too much stack!
You can increase it (using the Constructor) but probably
the problem is your coding techniques are stack-intensive
and will have to change to be heap-intensive instead.
>This happens at different points in my function in different ROMs.
>
>Does it have anything to with using Classes (Object Oriented)
Modify your classes to use very little stack.
Use heap allocations/deallocations within your classes.
Avoid recursion.
Avoid arrays of objects.
Roger Stringer
Marietta Systems, Inc.
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/