MyException - 我的异常网
当前位置:我的异常网» J2EE » java.lang.OutOfMemoryError: GC overhead limit ex

java.lang.OutOfMemoryError: GC overhead limit exceeded(3)

www.MyException.Cn  网友分享于:2013-11-10  浏览:12349次

  at com.caucho.server.http.ResponseWriter.<init>(ResponseWriter.java:48)
  at com.caucho.server.http.AbstractHttpResponse.<init>(AbstractHttpResponse.java:88)
  at com.caucho.server.http.HttpResponse.<init>(HttpResponse.java:81)
  at com.caucho.server.http.HttpRequest.createResponse(HttpRequest.java:129)
  at com.caucho.server.http.HttpRequest.createResponse(HttpRequest.java:61)
  at com.caucho.server.http.AbstractHttpRequest.<init>(AbstractHttpRequest.java:196)
  at com.caucho.server.http.HttpRequest.<init>(HttpRequest.java:117)
  at com.caucho.server.http.HttpProtocol.createConnection(HttpProtocol.java:53)
  at com.caucho.network.listen.TcpSocketLink.<init>(TcpSocketLink.java:134)
  at com.caucho.network.listen.TcpSocketLinkListener.allocateConnection(TcpSocketLinkListener.java:1543)
  at com.caucho.network.listen.SocketLinkThreadLauncher.launchChildThread(SocketLinkThreadLauncher.java:72)
  at com.caucho.env.thread.AbstractThreadLauncher.startConnection(AbstractThreadLauncher.java:372)
  at com.caucho.env.thread.AbstractThreadLauncher.runTask(AbstractThreadLauncher.java:403)
  at com.caucho.env.thread.AbstractTaskWorker.run(AbstractTaskWorker.java:160)
  at com.caucho.env.thread.ResinThread.runTasks(ResinThread.java:164)
  at com.caucho.env.thread.ResinThread.run(ResinThread.java:130)
Resin-4.0.16 (built Thu, 17 Mar 2011 04:09:21 PDT)

------解决方案--------------------
[11-08-14 07:21:52.107] {resin-port-null:-1} WarningService: java.lang.OutOfMemoryError: GC overhead limit exceeded
[11-08-14 07:21:52.107] {resin-port-null:-1} java.lang.OutOfMemoryError: GC overhead limit exceeded

内存溢出了,把内存设大点,貌似内存回收有限制?
------解决方案--------------------
以前看过一篇文章 好像是因为堆空间太小了,可以添加JVM的启动参数来限制使用内存。
看下这个,希望有帮助:


http://blog.csdn.net/forandever/article/details/5717890

文章评论

软件开发程序错误异常ExceptionCopyright © 2009-2015 MyException 版权所有