博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Exception in thread "http-bio-8080-exec-7"内存溢出问题
阅读量:4287 次
发布时间:2019-05-27

本文共 724 字,大约阅读时间需要 2 分钟。

      在一次搭建项目时,遇到这样的错误,导致了项目死活都不能够正常运行,真是捉急,最后 抓狂解决了这个问题。

     1.在eclipse安装目录中将eclipse的启动参数调大一些

    如:

-vmD:/Program Files (x86)/JDK/jdk1.7(64)/bin/javaw.exe-startupplugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar--launcher.libraryplugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.300.v20150602-1417-productorg.eclipse.epp.package.jee.product--launcher.defaultActionopenFile--launcher.XXMaxPermSize512M-showsplashorg.eclipse.platform--launcher.XXMaxPermSize512m--launcher.defaultActionopenFile--launcher.appendVmargs-vmargs-Dosgi.requiredJavaVersion=1.7-Xms128m-Xmx1024m
   2.然后

然后在eclipse的server栏,找到tomcat选项,打开tomcat的配置

在arguments 标签框下面的VM Arguments 框后面接上自己的tomcat启动虚拟机参数就可以了

-Xms128m -Xmx1024m -XX:MaxPermSize=512m

转载地址:http://adagi.baihongyu.com/

你可能感兴趣的文章
智慧社区GIS系统开发详细设计
查看>>
智慧园区导航可视化分析平台技术方案
查看>>
智慧停车场综合解决方案
查看>>
疫情防控三维GIS时空分析系统设计
查看>>
python实现判断某天是否是节假日
查看>>
python根据日期计算昨天、明天日期
查看>>
pandas填充缺失值
查看>>
No matching distribution found for docx(配置cmd控制台代理)
查看>>
pycharm 无法安装模块 nothing to show
查看>>
ModuleNotFoundError: No module named 'exceptions'
查看>>
pandas corr()函数
查看>>
香农熵概念理解
查看>>
pycharm调试步骤(详细)
查看>>
交叉验证
查看>>
matplotlib绘制横向柱状图
查看>>
python函数 range()和arange()
查看>>
linux容器安装cmake
查看>>
win10安装pyhive包
查看>>
must be str,not int
查看>>
crontab使用方法
查看>>