I have a servlet that have a lot information to
display. when I click one of the link which calls the
servlet again, I got OutOfMemoryError. How can I deal
it? I am runing on weblogic 5.1 on NT.

The following is what I got when I have -verbosegc
option:

<GC: managing allocation failure: need 16 bytes,
type=2, action=4>
<GC: 2016 milliseconds since last GC>
<GC: totally out of heap space>
<GC: managing allocation failure: need 8 bytes,
type=2, action=1>
<GC: 141 milliseconds since last GC>
<GC: freed 2 objects, 2040 bytes in 673 ms, 26% free
(14045824/53687088)>
  <GC: init&scan: 3 ms, scan handles: 593 ms, sweep:
77 ms, compact: 0 ms>
  <GC: 1 register-marked objects, 11 stack-marked
objects>
  <GC: 2 register-marked handles, 277 stack-marked
handles>
  <GC: refs: soft 0 (age >= 32), weak 0, final 0,
phantom 0>
<GC: managing allocation failure: need 8 bytes,
type=2, action=2>
<GC: 687 milliseconds since last GC>
<GC: managing allocation failure: need 16 bytes,
type=2, action=1>
<GC: 141 milliseconds since last GC>
<GC: freed 1569517 objects, 35600632 bytes in 422 ms,
92% free (49646448/5368708
8)>
  <GC: init&scan: 2 ms, scan handles: 146 ms, sweep:
274 ms, compact: 0 ms>
  <GC: 1 register-marked objects, 13 stack-marked
objects>
  <GC: 2 register-marked handles, 349 stack-marked
handles>
  <GC: refs: soft 0 (age >= 32), weak 0, final 0,
phantom 0>
Fri Oct 06 09:35:32 PDT 2000:<E>
<ServletContext-General> Servlet failed with Ex
ception
java.lang.OutOfMemoryError

Fri Oct 06 09:35:32 PDT 2000:<E> <Kernel>
ExecuteRequest failed.
java.lang.OutOfMemoryError

__________________________________________________
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.yahoo.com/

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to