起步软件技术论坛
搜索
 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 4204|回复: 3

[结贴] 网站报错java.lang.OutOfMemoryError: Java heap space

[复制链接]

29

主题

82

帖子

248

积分

中级会员

Rank: 3Rank: 3

积分
248
QQ
发表于 2017-12-25 13:29:40 | 显示全部楼层 |阅读模式
版本: 小版本号:
数据库: 服务器操作系统: 应用服务器:
客户端操作系统: 浏览器:
  1. 2017-12-25 13:28:04 [SQL Time]sql 执行时间:19608ms, exec KSQL: SELECT grid_partyactivity.*  FROM grid_partyactivity grid_partyactivity LIMIT 0, 20
  2.   --> sql:SELECT  grid_partyactivity.ACTIVITY_ADDTIME AS activity_addtime, grid_partyactivity.ACTIVITY_AUTHOR AS activity_author, grid_partyactivity.ACTIVITY_AUTHORID AS activity_authorID, grid_partyactivity.ACTIVITY_CONTENT AS activity_content, grid_partyactivity.ACTIVITY_DATE AS activity_date, grid_partyactivity.ACTIVITY_LOCATION AS activity_location, grid_partyactivity.ACTIVITY_ORGNAME AS activity_orgname, grid_partyactivity.ACTIVITY_PHOTOS AS activity_photos, grid_partyactivity.ACTIVITY_TITLE AS activity_title, grid_partyactivity.ACTIVITY_TYPE AS activity_type, grid_partyactivity.ACTIVITY_TYPEID AS activity_typeid, grid_partyactivity.fID AS grid_partyactivity, grid_partyactivity.VERSION AS version FROM GRID_PARTYACTIVITY grid_partyactivity
  3. --> binds:[]
  4. 2017-12-25 13:28:04 [KSQL Time]sql 执行时间:19659ms, ksql:SELECT grid_partyactivity.*  FROM grid_partyactivity grid_partyactivity LIMIT 0, 20
  5. 2017-12-25 13:28:04 excute stream action, params:{"accept":"application/json","action":"queryGrid_partyactivityAction","actionFlag":"__action_0__","activity":"mainActivity","contentType":"json","executeContext":"","executor":"","parameters":{"columns":"activity_addtime,activity_author,activity_authorID,activity_content,activity_date,activity_location,activity_orgname,activity_photos,activity_title,activity_type,activity_typeid,grid_partyactivity,version","limit":20,"offset":0,"variables":{}},"process":"/grid/partyBuilding/process/partyActivity/partyActivityProcess","translateParameter":{"cellnameByRelation":false,"dataType":"row-list","includeState":true,"rowsConfig":{"concept":"grid_partyactivity","sequence":"activity_addtime,activity_author,activity_authorID,activity_content,activity_date,activity_location,activity_orgname,activity_photos,activity_title,activity_type,activity_typeid,grid_partyactivity,version"},"transformIdcolumn":true,"useNamespace":true}}
  6. java.lang.reflect.InvocationTargetException
  7.         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  8.         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  9.         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  10.         at java.lang.reflect.Method.invoke(Method.java:497)
  11.         at com.justep.system.action.Engine.invokeActions(Native Method)
  12.         at com.justep.system.action.Engine.invokeActions(Unknown Source)
  13.         at com.justep.business.server.BusinessServer.doAction(Unknown Source)
  14.         at com.justep.business.server.BusinessServer.doExcute(Unknown Source)
  15.         at com.justep.business.server.BusinessServer.excute(Unknown Source)
  16.         at com.justep.business.server.BusinessServer.excute(Unknown Source)
  17.         at com.justep.business.server.BusinessServerServlet.execService(Unknown Source)
  18.         at com.justep.business.server.BusinessServerServlet.service(Unknown Source)
  19.         at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
  20.         at com.justep.x.bs.BusinessServerServlet.service(Unknown Source)
  21.         at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
  22.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  23.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  24.         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
  25.         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
  26.         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
  27.         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
  28.         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  29.         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
  30.         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
  31.         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
  32.         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
  33.         at java.lang.Thread.run(Thread.java:745)
  34. Caused by: java.lang.OutOfMemoryError: Java heap space
  35.         at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3387)
  36.         at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3334)
  37.         at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3774)
  38.         at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:871)
  39.         at com.mysql.jdbc.MysqlIO.nextRow(MysqlIO.java:1940)
  40.         at com.mysql.jdbc.MysqlIO.readSingleRowSet(MysqlIO.java:3285)
  41.         at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:463)
  42.         at com.mysql.jdbc.MysqlIO.readResultsForQueryOrUpdate(MysqlIO.java:3009)
  43.         at com.mysql.jdbc.MysqlIO.readAllResults(MysqlIO.java:2257)
  44.         at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2650)
  45.         at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2545)
  46.         at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1901)
  47.         at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2002)
  48.         at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
  49.         at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
  50.         at com.justep.system.ksql.KSQLUtils.execSqlSelect(Unknown Source)
  51.         at com.justep.system.data.impl.TableUtilsImplement.ksqlSelect(Unknown Source)
  52.         at com.justep.system.data.impl.TableUtilsImplement.ksqlSelect(Unknown Source)
  53.         at com.justep.system.data.impl.TableUtilsImplement.ksqlSelect(Unknown Source)
  54.         at com.justep.system.data.BizData.query(Unknown Source)
  55.         at BizProcedure.query(BizProcedure.java:12)
  56.         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  57.         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  58.         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  59.         at java.lang.reflect.Method.invoke(Method.java:497)
  60.         at com.justep.system.action.Engine.invokeActions(Native Method)
  61.         at com.justep.system.action.Engine.invokeActions(Unknown Source)
  62.         at com.justep.business.server.BusinessServer.doAction(Unknown Source)
  63.         at com.justep.business.server.BusinessServer.doExcute(Unknown Source)
  64.         at com.justep.business.server.BusinessServer.excute(Unknown Source)
  65.         at com.justep.business.server.BusinessServer.excute(Unknown Source)
  66.         at com.justep.business.server.BusinessServerServlet.execService(Unknown Source)
复制代码




29

主题

82

帖子

248

积分

中级会员

Rank: 3Rank: 3

积分
248
QQ
 楼主| 发表于 2017-12-25 13:30:34 | 显示全部楼层
我已经设置过limit了,为什么取得还是全部数据啊。
回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36064
发表于 2017-12-25 13:41:08 | 显示全部楼层
java.lang.OutOfMemoryError: Java heap space是内存溢出了,修改一下内存的大小
http://docs.wex5.com/setup-wex5-jvm/

分页的参考http://docs.wex5.com/bex5-deploy-question-list-10027/
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

29

主题

82

帖子

248

积分

中级会员

Rank: 3Rank: 3

积分
248
QQ
 楼主| 发表于 2017-12-26 09:00:25 | 显示全部楼层
结贴
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|X3技术论坛|Justep Inc.    

GMT+8, 2024-11-22 05:03 , Processed in 0.056988 second(s), 25 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表