1. 程式人生 > >關於JAVA記憶體溢位問題

關於JAVA記憶體溢位問題

               java.lang.OutOfMemoryError: Java heap space 
                at java.util.Arrays.copyOf(Arrays.java:2786) 
                at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:94) 
                at sun.net.www.http.PosterOutputStream.write(PosterOutputStream.java:61) 
                at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65) 
                at java.io.BufferedOutputStream.write(BufferedOutputStream.java:109) at ......