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

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

标签: eclipse
  3194人阅读  评论(1)  收藏  举报
  分类:
java(554) 

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

[html]  view plain  copy
  1. org.eclipse.jdi.TimeOutException: Timeout occurred while waiting for packet 220 occurred creating step request.  


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

[html]  view plain  copy
  1. -Xms12114m -Xmx12114m -Xss2m  


参考:

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

你可能感兴趣的:(Eclipse)