Re: NSSpellChecker crashes after 64k words
Re: NSSpellChecker crashes after 64k words
- Subject: Re: NSSpellChecker crashes after 64k words
- From: Evan DiBiase <email@hidden>
- Date: Tue, 12 Apr 2005 11:41:20 -0400
On Apr 12, 2005, at 11:07 AM, The Karl Adam wrote:
Have you tried this with code that just creates auto-released objects?
I whipped up a sample program to test this:
#import <Foundation/Foundation.h>
int main (int argc, const char * argv[]) {
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
NSString *s;
int i;
for (i = 0; true; i++) {
s = [NSString stringWithString:@"email@hidden"];
NSLog(@"%d", i);
}
[pool release];
return 0;
}
It's still going strong at 200,000 strings created. I'll keep it running for a while, though, and if it crashes I'll let the list know.
Evan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden