• 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: Weird problem with array declaration in action
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Weird problem with array declaration in action


  • Subject: Re: Weird problem with array declaration in action
  • From: Sherm Pendley <email@hidden>
  • Date: Sun, 9 Feb 2003 08:28:08 -0500

On Sunday, February 9, 2003, at 12:22 AM, David Hinz wrote:

That could be the problem. In another app I have the same type of two-dimensional array, but it is actually an instance variable.

Running "ulimit -aS" in Bash tells me that the "soft" limit on stack size is indeed 512K. The "hard" limit ("ulimit -aH") is much higher - 64M.

If this is the problem, is there a way to increase the amount of memory a thread can have on the stack?

Have a look at the setrlimit() function. Non-root users can't increase resource limits beyond the "hard" limit, but it looks as if what you need is well within that.

sherm--

C programmers never die - they're just cast into void.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Weird problem with array declaration in action (From: David Hinz <email@hidden>)

  • Prev by Date: Re: NSTextView && keyboard
  • Next by Date: -init is not being called on my custom class
  • Previous by thread: Re: Weird problem with array declaration in action
  • Next by thread: Re: Weird problem with array declaration in action
  • Index(es):
    • Date
    • Thread