Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB SQL » View Thread |
Messages 11 to 13 of 13 total |
error in TEDBScript.ExecScript update |
Mon, Jul 30 2012 8:20 PM | Permanent Link |
Bryn Lewis Intelligent Software and Systems | Fernando was right. I increased the Max stack size from
$00010000 to $00400000 and it is happy. However, are there other reasons why I shouldn't raise the stack size? (ie, why isn't it higher by default)? Thanks for the suggestion. |
Tue, Jul 31 2012 3:54 AM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | Bryn
In D6 and D2006 my Max Stack size is $00100000 and you have $00010000. If your's isn't a typo then it looks as though something/someone changed it. If it is a typo then whilst you've solved it I don't think the stack size was the real problem and I'd suggest upgrading your version of ElevateDB Roy Lambert [Team Elevate] |
Thu, Aug 2 2012 3:21 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Bryn,
<< When doing TEDBScript.ExecScript, I am getting a stack overflow if the update value is >~15000 characters (not usre exactly what the limit is). It doesn't seem to matter what the characters are. >> If you're using a lot of 'This '+' this '+' this '+' this ' type of concatenation in the script, then that is the issue. Each concatenation causes the parser to recurse as it navigates the expression tree, so having a lot of such concatenations can blow out the stack in your Delphi application. The solution is to use a parameterized script and pass in the parameter as one string. If you have any other questions, please let me know. Tim Young Elevate Software www.elevatesoft.com |
« Previous Page | Page 2 of 2 | |
Jump to Page: 1 2 |
This web page was last updated on Saturday, May 4, 2024 at 09:18 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |