07 2019 档案

摘要:有时候Eclipse启动,控制台console不会自动跳出来,需要手工点击该选项卡才行, 按下面的设置,可以让它自动跳出来(或不跳出来): windows -> preferences -> run/debug -> console 在右边面板勾选或去掉"Show when program writ 阅读全文
posted @ 2019-07-10 14:01 乖怪丶 阅读(456) 评论(0) 推荐(0) 编辑
摘要:Eclipse崩溃,错误提示: MyEclipse has detected that less than 5% of the 64MB of Perm Gen (Non-heap memory) space remains. It is strongly recommended that you 阅读全文
posted @ 2019-07-09 11:42 乖怪丶 阅读(3602) 评论(0) 推荐(0) 编辑
摘要:我的服务器的配置: # OS specific support. $var _must_ be set to either true or false. JAVA_OPTS="-Xms1024m -Xmx4096m -Xss1024K -XX:PermSize=512m -XX:MaxPermSiz 阅读全文
posted @ 2019-07-09 11:37 乖怪丶 阅读(18416) 评论(0) 推荐(1) 编辑
摘要:一、设置JVM内存设置 1. 设置JVM内存的参数有四个: -Xmx Java Heap最大值,默认值为物理内存的1/4,最佳设值应该视物理内存大小及计算机内其他内存开销而定; -Xms Java Heap初始值,Server端JVM最好将-Xms和-Xmx设为相同值,开发测试机JVM可以保留默认值 阅读全文
posted @ 2019-07-09 11:33 乖怪丶 阅读(679) 评论(0) 推荐(0) 编辑
摘要:Eclispe3.7以后在使用可变函数时可能会遇到这种编译错误的问题 The method is ambiguous 正确的解决方法是: 在eclipse.ini -vmargs后面添加 -DtolerateIllegalAmbiguousVarargsInvocation=true 重启并Clea 阅读全文
posted @ 2019-07-04 13:53 乖怪丶 阅读(463) 评论(0) 推荐(0) 编辑

欢迎这位客官来到《2019 年 7月 随笔档案 - 乖怪丶 - 博客园》
点击右上角即可分享
微信分享提示