Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b3pDoGLiWk6LLBeHjW
7 lines
263 B
Plaintext
7 lines
263 B
Plaintext
$ java -Xmx128m LongLineDemo line long.txt
|
|
mode=line -Xmx128 MB
|
|
OutOfMemoryError: Java heap space
|
|
$ java -Xmx128m LongLineDemo chunks long.txt
|
|
mode=chunks -Xmx128 MB
|
|
read(char[]) processed 200,000,071 chars, 2,739,727 commas, never holding more than 8192 chars
|