点击工具栏中debug旁边按钮的倒三角,点击debug configuration,切换到arguments页,在VM arguments栏最后追加 -Xms256M -Xmx512M -XX:PermSize=256m -XX:MaxPermSize=512m
[img]http://dl2.iteye.com/upload/attachment/0129/4234/33336334-e279-305f-ade7-47c2eef1eabf.png[/img]
[img]http://dl2.iteye.com/upload/attachment/0129/4234/33336334-e279-305f-ade7-47c2eef1eabf.png[/img]