On Sep 19, 2006, at 3:54 PM, Tim Jones wrote:

Does anyone have a tried and true mechanism for monitoring for and either fixing or preventing a StackOverflow exception?

Something I've done before is to catch the exception and continue the processing in a new thread. Depending on the logic of what you're doing, this can be quite easy to do.

Or even do the whole thing with each "stack frame" instead being a thread. That would be slower, but possibly even easier to write.

Guyren G Howe
Relevant Logic LLC

guyren-at-relevantlogic.com ~ http://relevantlogic.com

REALbasic, PHP, Python programming
PostgreSQL, MySQL database design and consulting
Technical writing and training


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to