• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSSpellChecker crashes after 64k words
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >NSSpellChecker crashes after 64k words (From: Denis Stanton <email@hidden>)
 >Re: NSSpellChecker crashes after 64k words (From: Dan Saul <email@hidden>)
 >Re: NSSpellChecker crashes after 64k words (From: Denis Stanton <email@hidden>)
 >Re: NSSpellChecker crashes after 64k words (From: The Karl Adam <email@hidden>)

  • Prev by Date: Re: NSSpellChecker crashes after 64k words
  • Next by Date: Re: NSTextView and RTF bytes bug in "deployment" build style?
  • Previous by thread: Re: NSSpellChecker crashes after 64k words
  • Next by thread: Re: NSSpellChecker crashes after 64k words
  • Index(es):
    • Date
    • Thread