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: Signed Applet - Problem reading large local files



Jason Vasquez <email@hidden> wrote:

>FYI, the limit of a String is the number of chars that fit in an int.
>(String manages a char array internally), so 2^31 - 1 chars, approx.
>2.1 billion.  Remember... java chars are 2 bytes, so file size might
>not translate equally depending on the file encoding....but it will
>definitely handle several MBs :)

The practical size is further limited by a process's address-space (32-bits
on Mac OS X, at least until 10.4), by any OS-specific process limits ('man
getrlimit'), and by the upper-limit to heap-size (-Xmx option to JVM).

  -- GG


 _______________________________________________
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



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.