[RESOLVED] Thread used up its stack
I am editing a very large file with my multilingual text editor, using a richtextbox,
and I have noticed a slow-down in operations, and also got the error "Thread used
up its stack".
My theory is that the size of the textbox capacity needs to be increased . . . .
has anyone ever had this problem before, and does that sound like a valid theory?
Size of the rtf file I am editing is over 1.3 megabytes.
Re: Thread used up its stack
1.3Mb doesn't come close to the character limit for an RTB though I would have to question the size of that document given that the average paperback translates to less than 500Kb as text. Can it not be broken down at all?
Stack problems are not caused by what you put in the RTB but what you do with it in memory.
Re: Thread used up its stack
What was your code doing when this error occurred ?
Re: Thread used up its stack
Thanks for the comments, they helped me narrow down the problem, it did not have anything to do with the size of the textbox, it had to do with what I was doing, pasting text in, and the debugger found that there was a problem with the formatting. Thanks . . .