jetty java heap space_接口请求,java.lang.OutOfMemoryError: Java heap space

  • Post author:
  • Post category:java


请求同一个接口。

第一次请求,报如下错误信息:

但是第二次请求并不会报错。

javax.servlet.ServletException: java.lang.RuntimeException: java.lang.OutOfMemoryError: Java heap space

at org.apache.shiro.web.servlet.AdviceFilter.cleanup(AdviceFilter.java:196)

at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:148)

at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)

at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)

at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)

at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)

at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)

at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)

at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)

at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)

at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1642)

at com.tzding.tzd.application.filter.RouteFilter.doFilter(RouteFilter.java:61)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1642)

at org.nutz.mvc.WhaleFilter.do



版权声明:本文为weixin_30588381原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。