#1378 Java raw parser shouldn't buffer 2GB