|
-
Nov 22nd, 2012, 03:43 AM
#1
Thread Starter
Addicted Member
[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.
Last edited by skywola; Nov 22nd, 2012 at 11:56 AM.
.
We must question the story logic of having an all-knowing all-powerful God, who creates faulty Humans, and then blames them for his own mistakes.
GENE RODDENBERRY
.
http://www.tachufind.com
.
-
Nov 22nd, 2012, 01:10 PM
#2
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.
As the 6-dimensional mathematics professor said to the brain surgeon, "It ain't Rocket Science!"
Reviews: "dunfiddlin likes his DataTables" - jmcilhinney
Please be aware that whilst I will read private messages (one day!) I am unlikely to reply to anything that does not contain offers of cash, fame or marriage!
-
Nov 22nd, 2012, 01:36 PM
#3
Re: Thread used up its stack
What was your code doing when this error occurred ?
-
Nov 22nd, 2012, 02:45 PM
#4
Thread Starter
Addicted Member
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 . . .
.
We must question the story logic of having an all-knowing all-powerful God, who creates faulty Humans, and then blames them for his own mistakes.
GENE RODDENBERRY
.
http://www.tachufind.com
.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|