标签:div read nbsp except i++ test ror static heap
public class TestException { public static void main(String[] args) { String str = "1"; for(int i=0;i<10000;i++) { str += str; } } }
2Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
标签:div read nbsp except i++ test ror static heap
原文地址:http://www.cnblogs.com/BaiLaowu/p/7092195.html