org.eclipse.jdi.TimeOutException: Timeout occurred while waiting for packet 220 occurred creating st

来源:互联网 发布:linux centos官网 编辑:程序博客网 时间:2024/06/05 20:52

在使用eclipse调试(debugger)时,如果程序“吃”的资源比较多,那么就经常报如下错误:

org.eclipse.jdi.TimeOutException: Timeout occurred while waiting for packet 220 occurred creating step request.


解决方法:除了增加堆内存大小外,还需要增加线程的堆栈大小:

-Xms12114m -Xmx12114m -Xss2m


参考:

http://stackoverflow.com/questions/3700459/how-to-increase-the-java-stack-size


0 0
原创粉丝点击