Re: Increasing stacksize on Mac OSX

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Wed Jun 29 2011 - 18:47:37 MDT

%> ulimit -s

I think that the max stacksize for the MAC is 65532.
I don't think that there is an unlimited stacksize
like on many linux systems.

WHat is the available memory on your MAC? Does
your script require more memory then is available?

On 6/29/11 6:35 PM, Jared Lee wrote:
> Hi, does anyone out there know how to increase the stacksize in Mac OSX (I'm running 10.6.8) beyond 65532 kB? I haven't been able to find a way to increase the stacksize to unlimited, or even anything larger than that. An NCL script that I have runs just fine on Linux systems, but when I run it on my new Mac, I get errors like this one:
> ==========
> ncl(47500) malloc: *** error for object 0x12c594c08: incorrect checksum for freed object - object was probably modified after being freed.
> *** set a breakpoint in malloc_error_break to debug
> sh: line 1: 47500 Abort trap
> ==========
> Because it's an mallloc error, I'm assuming that it'd go away if I could get the stacksize big enough, but OSX seems to make it hard or impossible to do that.
> Jared
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
Received on Wed Jun 29 18:47:45 2011

This archive was generated by hypermail 2.1.8 : Thu Jun 30 2011 - 12:54:44 MDT