NutzCN Logo
问答 java.lang.OutOfMemoryError: Java heap space
发布于 3005天前 作者 qq_6c186ef5 2284 次浏览 复制 上一个帖子 下一个帖子
标签:
2016-09-30 10:32:00,353 org.nutz.mvc.impl.processor.FailProcessor.process(FailProcessor.java:28) WARN  - Error@/QuerycInfo/queryCanInfo :
java.lang.OutOfMemoryError: Java heap space
	at java.lang.StringCoding$StringDecoder.decode(StringCoding.java:133)
	at java.lang.StringCoding.decode(StringCoding.java:173)
	at java.lang.String.<init>(String.java:444)
	at com.mysql.jdbc.ResultSetRow.getString(ResultSetRow.java:789)
	at com.mysql.jdbc.BufferRow.getString(BufferRow.java:539)
	at com.mysql.jdbc.ResultSetImpl.getStringInternal(ResultSetImpl.java:5571)
	at com.mysql.jdbc.ResultSetImpl.getString(ResultSetImpl.java:5448)
	at com.mysql.jdbc.ResultSetImpl.getString(ResultSetImpl.java:5488)
	at com.mchange.v2.c3p0.impl.NewProxyResultSet.getString(NewProxyResultSet.java:3342)
	at org.nutz.dao.jdbc.Jdbcs$Adaptor$2.get(Jdbcs.java:281)
	at org.nutz.dao.impl.entity.field.NutMappingField.injectValue(NutMappingField.java:85)
	at org.nutz.dao.impl.entity.NutEntity.getObject(NutEntity.java:232)
	at org.nutz.dao.impl.sql.pojo.PojoQueryEntityCallback$1.createObject(PojoQueryEntityCallback.java:24)
	at org.nutz.dao.pager.ResultSetLooping.doLoop(ResultSetLooping.java:75)
	at org.nutz.dao.impl.sql.pojo.PojoQueryEntityCallback.invoke(PojoQueryEntityCallback.java:28)
	at org.nutz.dao.impl.jdbc.NutPojo.onAfter(NutPojo.java:109)
	at org.nutz.dao.impl.sql.run.NutDaoExecutor._runSelect(NutDaoExecutor.java:233)
	at org.nutz.dao.impl.sql.run.NutDaoExecutor.exec(NutDaoExecutor.java:45)
	at org.nutz.dao.impl.DaoSupport$DaoExec.invoke(DaoSupport.java:316)
	at org.nutz.dao.impl.sql.run.NutDaoRunner.run(NutDaoRunner.java:59)
	at org.nutz.dao.impl.DaoSupport.run(DaoSupport.java:239)
	at org.nutz.dao.impl.DaoSupport._exec(DaoSupport.java:271)
	at org.nutz.dao.impl.NutDao.query(NutDao.java:465)
	at org.nutz.dao.impl.NutDao.query(NutDao.java:470)
	at com.risun.tsaic.dao.impl.BusinessBasicInfoDaoImpl.findList(BusinessBasicInfoDaoImpl.java:43)
	at com.risun.tsaic.module.canInfo.CanInfoAction.queryCanInfo(CanInfoAction.java:104)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.nutz.mvc.impl.processor.MethodInvokeProcessor.process(MethodInvokeProcessor.java:25)
	at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
Action:
List<BusinessBasicInfo> basicInfoList = basicInfoDao.findList(build.toStrings());
dao:
public List<BusinessBasicInfo> findList(String sql){
		return getDao().query(getClasses(), Cnd.wrap(sql));
	}
5 回复

我问的是: 查询结果里面是不是有个Blob字段? 不然也不会存不下.

那就无解咯, 也许只是这么巧到这个地方才爆,而真正耗内存的代码在前面的日志中

添加回复
请先登陆
回到顶部