Root cause of ServletException.java.lang.OutOfMemoryError>

<Jan 10, 2007 12:39:13 PM IST> <Error> <HTTP> <BEA-101017> <[ServletContext(id=20269655,name=raweb,context-path=/raweb)] Root cause of ServletException.java.lang.OutOfMemoryError>

--

Hi all,

we are struggling with the above problem when we rendering the map (google kind of map) data to a browser.

I got some possibilites from the net and i implemented the possibilities in my system.

these r the possibilities i got from the forums

a) setting the environment variable as

JAVA_OPTS

-Xmx512m

b) in weblogic startweblogic.cmd

i set the JAVA_OPTS as -Xms256m to -Xmx512m

and i changed the MEM_ORGS also

after setting those possibilities also im getting the same problem

please kindly help me to avoid that problem as early as possible

thanks and regards

lokesh

[886 byte] By [lokeshkumarnallaa] at [2007-11-26 14:50:01]
# 1
it's hard to tell the problem without looking at the codei'd recommend using a profiler to see which objects are eating up all the memory
CarrieHunta at 2007-7-8 8:38:07 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...
# 2
thanks Carrie can u suggest me the best profiler to find the objects which are eating memorythanks and regardsLokesh
lokeshkumarnallaa at 2007-7-8 8:38:07 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...