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