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: File handle limit?



So is there any (easy) way to get around this? Or can I just not have a java process that uses this many filehandles in OSX at all?

Thanks,

Jacob
On Aug 21, 2008, at 4:07 PM, Michael Hall wrote:


On Aug 21, 2008, at 5:46 PM, Bill Wagner wrote:

The file "sys/syslimits.h" defines:

#define    OPEN_MAX        10240    /* max open files per process */


Since the JVM is, as far as the operating system is concerned, just another application that was compiled using the limits defined in this file, it will be bound by these limits.

From Greg Guerin's earlier mentioned JNI

** "Descriptors" to change the number of open descriptors,

Wouldn't this be the same thing? This suggests it can be changed at
Runtime. If it's not the same thing, never mind.

Mike Hall        hallmike at att dot net
http://www.geocities.com/mik3hall
http://sourceforge.net/projects/macnative




_______________________________________________ Do not post admin requests to the list. They will be ignored. Java-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >File handle limit? (From: Jacob Scott <email@hidden>)
 >Re: File handle limit? (From: Bill Wagner <email@hidden>)
 >Re: File handle limit? (From: Michael Hall <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.