从表单上传文件到数据库或服务器
如何提升MySQL批量插入的效率

MyEclipse 堆溢出设置

Jimmy posted @ 2012年3月12日 13:32 in JSP+MySQL , 1678 阅读

最近写JSP需要调用Java程序来处理大量数据,很容易就堆溢出了,在网上找到了如下的解决方法:

可以找到myEclipse的安装目录找到myeclipse.ini文件,用记事本打开,找到这段将其改为如下(这是最大的虚拟内存,可以根据自己的机器配置进行设置)

-vmargs  
-Xmx1024m  
-XX:MaxPermSize=512m  
-XX:ReservedCodeCacheSize=512m  

初始值:

-XX:MaxPermSize=256m
-XX:ReservedCodeCacheSize=64m
Avatar_small
celeb networth 说:
2020年9月28日 00:33

All the basic information about every celebrity is available now on the largest database of celebrity networth where you can find all the information of a singer, actor, businessman...


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter