aspose file tools*
The moose likes Tomcat and the fly likes java heap space error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "java heap space error" Watch "java heap space error" New topic
Author

java heap space error

shakthi balan
Greenhorn

Joined: Sep 19, 2013
Posts: 1
HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Filter execution threw an exception
net.project.security.SessionAccessFilter.doFilter(SessionAccessFilter.java:81)
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)

root cause

java.lang.OutOfMemoryError: Java heap space

note The full stack trace of the root cause is available in the Apache Tomcat/5.5.23 logs.
Apache Tomcat/5.5.23




java heap space error will be occur . so how to resolve this problem ???help me..
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12806
    
    5
Obviously, you need to find out what is using up all the memory.

I am betting you have some sort of looping/recursion error that just keeps on creating objects.

If you can't find it by examining the code, start cutting bits out.

Bill
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: java heap space error