java.lang.OutOfMemoryError: Java heap space 内存不足了呀。加大内存的马力吧另外你的结果是不是太大了鸟

解决方案 »

  1.   

    严重: Servlet.service() for servlet jsp threw exception java.lang.OutOfMemoryError: Java heap space这种情况多出在读取数据量太大或者中文字符集GB2312到UTF-8转换有问题的时候建议使用较少的数据量和较多的中文数据分别进行测试,逐一排查。
      

  2.   

    要查出的结果是:一次性根据相关联表字段查出5张表中与之相关多个字段列的信息,最少时会有1000多条,一条信息对应5种状态
    请看以下续问EG:
     select f.procinsid,f.sqmc,f.lxrname,c.state,c.applydate,c.completedate,a.organization_name,f.xmgyxx,f.lxrmobile,f.lxrphone,f.lxremail,f.lxraddr from cwt_wf_casedata t, cm_casetimer c, tformcommondata f,app_organization a 
      ,(select * from app_organization o where o.parent_organization = -1) ta,cm_state s 
      where t.fprocinstid = c.procinsid 
      and c.procinsid = f.procinsid 
      and c.deptid = ta.organization_id 
      and c.state = s.id 
      and t.fprocinstid = '1371181' ---表ID号 
      and t.fexaminecodeinst like 'ZX08%';---表示流水号 
    如何给这个Oracle9i PLSQL Developer 中运行的SQL语句加上倒序查询关键与条件,加快它的查询效率?