Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to increase stack size limit



Thanks Greg for your reply.

I need an order of magnitude higher stack size limit to run our climate model
with chemistry. This model runs on various other platforms (e.g. Linux PC
Clusters, Alpha workstations, Nec SX6), where we can either increase the
stack size limit (within sh) or where it is already sufficiently high (SX6).


Thus, I wonder why this should not be possible on a Mac, which yields
with 1024 MB Memory and G4 1 GHz already a comparable performance
compared to a Linux PC Cluster or Alpha workstation (on one CPU).

What's about the option to recompile the kernel?

Swen

On Tuesday, Jun 17, 2003, at 19:39 Europe/Berlin, Greg Parker wrote:

On Tuesday, June 17, 2003, at 10:10 AM, Swen Metzger wrote:
Is there a way to increase the stack size limit within /bin/sh?

The current configuration (OS X 10.2.6, X11 Beta 3 - XFree86 4.2.1)
seems to allow only a decrease?

You can raise and lower the stack size at will, but there is a hard limit of 65536 KB that you cannot exceed. Even a superuser can't exceed that limit; it may require a kernel recompile to change.


Why do you need a stack larger than 64 MB, anyway?


-- Greg Parker email@hidden Java & Objective-C


---
Max-Planck-Institute for Chemistry
Department of Atmospheric Chemistry
J.J. Becherweg 27, D-55128 Mainz


--- Max-Planck-Institute for Chemistry Department of Atmospheric Chemistry J.J. Becherweg 27, D-55128 Mainz

Tel: +49 (0)6131 305 449, Fax: -436
http://www.mpch-mainz.mpg.de/~metzger
email: email@hidden
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: How to increase stack size limit (From: Greg Parker <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.