读取大文件出错List lines = IOUtils.readLines(new FileInputStream(filePATH)
读取一个2G的文件,发生错误:Exception in thread "main" java.lang.OutOfMemoryError: Java heap spaceat java.util.Arrays.copyOf(Arrays.java:2760)at java.util.Arrays.c...
读取一个2G的文件,发生错误:Exception in thread "main" java.lang.OutOfMemoryError: Java heap spaceat java.util.Arrays.copyOf(Arrays.java:2760)at java.util.Arrays.c...