jetty java heap space_JFinal + HTTL + jdk1.7 启动服务内存溢出,Java heap space 但jdk1.6正常...
eclispe 开发 JFinal + HTTL + jdk1.6 发布都正常,
今天服务器升级了jdk1.7,
本地也装了jdk1.7测试 编译后用jetty 启动 都会报错,一下内存就溢出了,求帮助。
httl.spi.loaders.ServletLoader
httl.properties
/WEB-INF/httl.properties
web.xml添加也出错
2014-02-24 09:56:19
[ERROR]-[Thread: qtp23975493-18]-[httl.spi.loggers.MultiLogger.error()]: Failed to compile class, cause: Java heap space, class: httl.spi.translators.templates.Template__sms_moneyLog_listTj_httl__WEB_INF_httl_UTF_8_1392300841156_stream, code:
================================
package httl.spi.translators.templates;
import com.zejiasoft.model.*;
import com.zejiasoft.base.entity.*;
import com.sms.common.entity.*;
import com.sms.entity.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.util.*;
import httl.*;
public final class Template__sms_moneyLog_listTj_httl__WEB_INF_httl_UTF_8_1392300841156_stream extends httl.spi.translators.templates.OutputStreamTemplate {
private static final byte[] $TXT1 = httl.util.ByteCache.getAndRemove("3347");
private static final byte[] $TXT2 = httl.util.ByteCache.getAndRemove("3348");
private static final String $TXT3 = httl.util.StringCache.getAndRemove("1533");
private static final byte[] $TXT4 = httl.util.ByteCache.getAndRemove("3349");
private static final byte[] $TXT5 = httl.util.ByteCache.getAndRemove("3350");
private static final byte[] $TXT6 = httl.util.ByteCache.getAndRemove("3351");
private static final String $TXT7 = httl.util.StringCache.getAndRemove("1534");
private static final byte[] $TXT8 = httl.util.ByteCache.getAndRemove("3352");
private static final byte[] $TXT9 = httl.util.ByteCache.getAndRemove("3353");
private static final byte[] $TXT10 = httl.util.ByteCache.getAndRemove("3354");
private static final String $TXT11 = httl.util.StringCache.getAndRemove("1535");
private static final byte[] $TXT12 = httl.util.ByteCache.getAndRemove("3355");
private static final byte[] $TXT13 = httl.util.ByteCache.getAndRemove("3356");
private static final String $TXT14 = httl.util.StringCache.getAndRemove("1536");
private static final byte[] $TXT15 = httl.util.ByteCache.getAndRemove("3357");
private static final String $TXT16 = httl.util.StringCache.getAndRemove("1537");
private static final byte[] $TXT17 = httl.util.ByteCache.getAndRemove("3358");
private static final byte[] $TXT18 = httl.util.ByteCache.getAndRemove("3359");
private static final String $TXT19 = httl.util.StringCache.getAndRemove("1538");
private static final byte[] $TXT20 = httl.util.ByteCache.getAndRemove("3360");
private static final byte[] $TXT21 = httl.util.ByteCache.getAndRemove("3361");
private static final byte[] $TXT22 = httl.util.ByteCache.getAndRemove("3362");
private static final String $TXT23 = httl.util.StringCache.getAndRemove("1539");
private static final byte[] $TXT24 = httl.util.ByteCache.getAndRemove("3363");
private static final byte[] $TXT25 = httl.util.ByteCache.getAndRemove("3364");
private static final byte[] $TXT26 = httl.util.ByteCache.getAndRemove("3365");
private static final String $TXT27 = httl.util.StringCache.getAndRemove("1540");
private static final byte[] $TXT28 = httl.util.ByteCache.getAndRemove("3366");
private static final byte[] $TXT29 = httl.util.ByteCache.getAndRemove("3367");
private static final String $TXT30 = httl.util.StringCache.getAndRemove("1541");
private static final byte[] $TXT31 = httl.util.ByteCache.getAndRemove("3368");
private static final byte[] $TXT32 = httl.util.ByteCache.getAndRemove("3369");
private static final String $TXT33 = httl.util.StringCache.getAndRemove("1542");
private static final byte[] $TXT34 = httl.util.ByteCache.getAndRemove("3370");
private static final String $TXT35 = httl.util.StringCache.getAndRemove("1543");
private static final byte[] $TXT36 = httl.util.ByteCache.getAndRemove("3371");
private static final String $TXT37 = httl.util.StringCache.getAndRemove("1544");
private static final byte[] $TXT38 = httl.util.ByteCache.getAndRemove("3372");
private static final String $TXT39 = httl.util.StringCache.getAndRemove("1545");
private static final byte[] $TXT40 = httl.util.ByteCache.getAndRemove("3373");
private static final String $TXT41 = httl.util.StringCache.getAndRemove("1546");
private static final byte[] $TXT42 = httl.util.ByteCache.getAndRemove("3374");
private static final String $TXT43 = httl.util.StringCache.getAndRemove("1547");
private static final byte[] $TXT44 = httl.util.ByteCache.getAndRemove("3375");
private static final String $TXT45 = httl.util.StringCache.getAndRemove("1548");
private static final byte[] $TXT46 = httl.util.ByteCache.getAndRemove("3376");
private static final String $TXT47 = httl.util.StringCache.getAndRemove("1549");
private static final byte[] $TXT48 = httl.util.ByteCache.getAndRemove("3377");
private static final String $TXT49 = httl.util.StringCache.getAndRemove("1550");
private static final byte[] $TXT50 = httl.util.ByteCache.getAndRemove("3378");
private static final byte[] $TXT51 = httl.util.ByteCache.getAndRemove("3379");
private static final java.util.Map $VARS = new httl.util.OrderedMap(new String[] {"BASE_PATH"}, new Class[] {java.lang.Object.class});
private final httl.spi.methods.CodecMethod $httl_spi_methods_CodecMethod;
private final httl.spi.methods.FileMethod $httl_spi_methods_FileMethod;
private final httl.spi.methods.TypeMethod $httl_spi_methods_TypeMethod;
private final httl.spi.methods.MessageMethod $httl_spi_methods_MessageMethod;
public Template__sms_moneyLog_listTj_httl__WEB_INF_httl_UTF_8_1392300841156_stream(httl.Engine engine, httl.spi.Interceptor interceptor, httl.spi.Compiler compiler, httl.spi.Switcher filterSwitcher, httl.spi.Switcher formatterSwitcher, httl.spi.Filter filter, httl.spi.Formatter formatter, httl.spi.Converter mapConverter, httl.spi.Converter outConverter, java.util.Map functions, java.util.Map importMacros, httl.Resource resource, httl.Template parent, httl.Node root) {
super(engine, interceptor, compiler, filterSwitcher, formatterSwitcher, filter, formatter, mapConverter, outConverter, functions, importMacros, resource, parent, root);
this.$httl_spi_methods_CodecMethod = (httl.spi.methods.CodecMethod) functions.get(httl.spi.methods.CodecMethod.class);
this.$httl_spi_methods_FileMethod = (httl.spi.methods.FileMethod) functions.get(httl.spi.methods.FileMethod.class);
this.$httl_spi_methods_TypeMethod = (httl.spi.methods.TypeMethod) functions.get(httl.spi.methods.TypeMethod.class);
this.$httl_spi_methods_MessageMethod = (httl.spi.methods.MessageMethod) functions.get(httl.spi.methods.MessageMethod.class);
}
protected void doRenderStream(httl.Context $context, java.io.OutputStream $output) throws java.lang.Exception {
httl.spi.Filter $filter = getFilter($context, "filter");
httl.spi.Filter filter = $filter;
httl.spi.formatters.MultiFormatter $formatter = getFormatter($context, "formatter");
httl.spi.formatters.MultiFormatter formatter = $formatter;
java.lang.Object BASE_PATH = (java.lang.Object) $context.get("BASE_PATH");
$output.write($TXT1);
filter = switchFilter("
if (BASE_PATH instanceof httl.Template) {
((httl.Template)BASE_PATH).render($output);
} else {
$output.write(doFilter(filter, $TXT3, formatter.toBytes($TXT3, (BASE_PATH instanceof httl.Resource ? httl.util.IOUtils.readToString(((httl.Resource)BASE_PATH).openReader()) : BASE_PATH))));
}
$output.write($TXT4);
filter = switchFilter("", $filter);
$output.write($TXT5);
filter = switchFilter("
if (BASE_PATH instanceof httl.Template) {
((httl.Template)BASE_PATH).render($output);
} else {
$output.write(doFilter(filter, $TXT7, formatter.toBytes($TXT7, (BASE_PATH instanceof httl.Resource ? httl.util.IOUtils.readToString(((httl.Resource)BASE_PATH).openReader()) : BASE_PATH))));
}
$output.write($TXT8);
filter = switchFilter("", $filter);
$output.write($TXT9);
filter = switchFilter("
if (BASE_PATH instanceof httl.Template) {
((httl.Template)BASE_PATH).render($output);
} else {
$output.write(doFilter(filter, $TXT11, formatter.toBytes($TXT11, (BASE_PATH instanceof httl.Resource ? httl.util.IOUtils.readToString(((httl.Resource)BASE_PATH).openReader()) : BASE_PATH))));
}
$output.write($TXT12);
filter = switchFilter("", $filter);
$output.write($TXT13);
if (BASE_PATH instanceof httl.Template) {
((httl.Template)BASE_PATH).render($output);
} else {
$output.write(doFilter(filter, $TXT14, formatter.toBytes($TXT14, (BASE_PATH instanceof httl.Resource ? httl.util.IOUtils.readToString(((httl.Resource)BASE_PATH).openReader()) : BASE_PATH))));
}
===============================
, httl: 1.0.11, jvm: 1.7.0_45, os: Windows XP 5.1 x86
java.lang.RuntimeException: java.lang.OutOfMemoryError: Java heap space
at com.sun.tools.javac.main.Main.compile(Main.java:475)
at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:132)
at httl.spi.compilers.JdkCompiler.doCompile(JdkCompiler.java:185)
at httl.spi.compilers.JdkCompiler.doCompile(JdkCompiler.java:161)
at httl.spi.compilers.AbstractCompiler.compile(AbstractCompiler.java:161)
at httl.spi.compilers.AdaptiveCompiler.compile(AdaptiveCompiler.java:96)
at httl.spi.translators.templates.CompiledVisitor.compile(CompiledVisitor.java:780)
at httl.spi.translators.CompiledTranslator.parseClass(CompiledTranslator.java:498)
at httl.spi.translators.CompiledTranslator.translate(CompiledTranslator.java:412)
at httl.spi.translators.MixedTranslator.translate(MixedTranslator.java:59)
at httl.spi.engines.DefaultEngine.parseTemplate(DefaultEngine.java:255)
at httl.spi.engines.DefaultEngine.getTemplate(DefaultEngine.java:233)
at httl.Engine.getTemplate(Engine.java:333)
at httl.spi.engines.DefaultEngine.inited(DefaultEngine.java:399)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at httl.util.BeanFactory.createBean(BeanFactory.java:147)
at httl.Engine.getEngine(Engine.java:127)
at httl.web.WebEngine.setServletContext(WebEngine.java:149)
at httl.web.WebEngine.setRequest(WebEngine.java:92)
at httl.web.WebEngine.setRequestAndResponse(WebEngine.java:102)
at httl.web.jfinal.HttlRender.render(HttlRender.java:39)
at com.jfinal.core.ActionHandler.handle(ActionHandler.java:92)
at com.jfinal.ext.handler.ContextPathHandler.handle(ContextPathHandler.java:47)
at com.jfinal.plugin.druid.DruidStatViewHandler.handle(DruidStatViewHandler.java:74)
at com.jfinal.core.JFinalFilter.doFilter(JFinalFilter.java:72)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1307)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:453)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:560)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1072)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:382)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1006)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
at org.eclipse.jetty.server.Server.handle(Server.java:365)
at org.eclipse.jetty.server.AbstractHttpConnection.handleReque
jetty java heap space_JFinal + HTTL + jdk1.7 启动服务内存溢出,Java heap space 但jdk1.6正常...相关推荐
- Tomcat启动报内存溢出错误解决(两种)
1.绿色版Tomcat,启动报内存溢出错误:java.lang.OutOfMemoryError: PermGen space异常 找到D:\Tomcat-7\apache-tomcat-7.0.28 ...
- Struts2中我所遇到的内存溢出(java.lang.OutOfMemoryError)异常错误介绍
1.在我以前写得关于Struts2的文章中,有时候往往会报一些经常出现的错误,今天又出现了,所以特此来介绍一下,并如何解决这种错误. 2.在我们部署项目到Tomcat服务器后,开启Tomcat服务器, ...
- java缓存内存泄漏_记一次mybaits缓存导致的内存溢出 java.lang.OutOfMemoryError: Java heap space...
先贴一下错误截图 org.springframework.web.util.NestedServletException: Handler dispatch failed; nested except ...
- webpack打包---报错内存溢出javaScript heap out of memory
今天, npm run build打包时,又报内存溢出了.所以记录一下,之前查了博客有一些解释. "报错CALL_AND_RETRY_LAST Allocation failed - Jav ...
- java jini dll_java - Jini / JavaSpaces发现错误 - 堆栈内存溢出
我在Eclipse中编写了这些类,并启动了Launch-All脚本和Run示例. 有用. 之后,我将这些类导出到可执行的jar(JavaSpaceClient.jar)中,并使用以下命令尝试了该jar ...
- hadoop 2.7.3 java_java - Hadoop 2.7.3 Java运行时错误 - 找不到core-site.xml - 堆栈内存溢出...
运行hdfs dfs -mkdir /abc出现以下错误. Exception in thread "main" java.lang.RuntimeException: core- ...
- 【项目 报错】 项目启动,内存溢出 可能出现的各种报错
内存溢出可能有如下的错误: 错误1: java.lang.OutOfMemoryError: PermGen space 错误2: Exception in thread "http-apr ...
- QtJava笔记-Qt与Java进行SSL双向认证(Qt服务端,Java客户端)
程序运行截图如下: Qt作为服务端,Java作为客户端. 这里的服务端是用的p12证书,客户端使用的是jks. 具体的生成方式看以前的博文. QSSLServer.h #ifndef QSSLSERV ...
- java创建一个大文件,java - 用Java创建包含大文件的目录 - 堆栈内存溢出
他们谈论将zip文件视为文件系统,并通过这种方式提供了递归压缩文件和文件夹的密钥,如您在链接中提到的示例中所看到的,将被视为文件系统,可以使用java.nio进行访问(甚至我都不知道!). 此外,您可 ...
最新文章
- 太TM难看了,我自己都看不下去了
- Python 技术篇-设置windows开机自动启用Jupyter服务,BAT批处理脚本启用jupyter服务设置,设置jupyter默认启动位置的方法
- MATLAB把多行多列矩阵数据和文字写入txt文件
- 无盘服务器 cpu占用,顺网科技网维大师程序占CPU资源多的解决过程
- 射频测试系统软件,新的~~蓝牙5.0射频测试系统
- idea工具修改Git路径
- linux: 空指令(:)
- 海媚服务器怎么进系统,海媚v3服务器配置
- 【折腾向】手动更换笔记本散热铜管
- 谷歌翻译函数C#代码实现
- 【python学习笔记】初见
- java增删改查 jsp生成_jsp+servlet实现最简单的增删改查代码分享
- 创新性中小企业认定标准
- 程序员职场起点6要素 前辈们那些经历告诉你
- 初学ARM的个人心得
- 《中华红》一个会作词的程序员
- Cisco交换机配合NPS执行802.1X有线准入
- 怎么用计算机写材料,在ps中如何写字?ps文字工具使用教程 -电脑资料
- 网络心理学未来分支——人工智能心理学
- 相见恨晚 一个有趣又好玩的小众便签App