今天在对文件进行操作的时候,发现读取20M以上的文件,JVM 就抛出Exception in thread "main" java.lang.OutOfMemoryError: Java heap space,内存溢出,请个老鸟们帮帮忙,如何可以让程序读取比较大的文件。
Some results have been hidden because they may be inaccessible to you
Show inaccessible resultsSome results have been hidden because they may be inaccessible to you
Show inaccessible results