Atlassian JIRA | Andrew Myers [Atlassian] | 7 years ago
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    Vinay reports getting this OOME stack barely more than an hour after a starting a busy crawl that's run without problems in nearly identical configuration the last 3 months: java.lang.OutOfMemoryError Stacktrace: java.lang.OutOfMemoryError at Method) at at at at$CompressedStream.( at ...etc... Other info collected: 'top' line for JVM (look at VIRT: so much larger than heap and at 4GB zone): PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 12228 webcrawl 18 0 4064m 2.3g 46m S 0.0 60.3 130:38.15 /usr/lib/jdk1.6.0_01/bin/java -Dj 5 of last 6 URLs shown in crawl.log are >50MB files, 4 of 5 are compressed video (gzip stress?) Unsure why this is triggered now, but looks like this JVM issue: "Instantiating Inflater/Deflater causes OutOfMemoryError; finalizers not called promptly enough" Paradoxically, a larger heap -- by limiting the need for heap GC -- could make this problem worse, as could anything else that increases the proportion of crawler effort using gzip/native space compared to heap space. (This is a dedup crawl writing both ARCs and WARCs, so relatively lot of compression is occurring.)

    JIRA | 9 years ago | Gordon Mohr

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.OutOfMemoryError

      No message provided

    2. Java RT
      1. Method)
      3 frames
    3. Jetty Util
      1. org.mortbay.servlet.GzipFilter$GzipStream.doGzip(
      2. org.mortbay.servlet.GzipFilter$GzipStream.<init>(
      2 frames
    4. Jetty Server
      1. org.mortbay.servlet.jetty.IncludableGzipFilter$IncludableGzipStream.<init>(
      2. org.mortbay.servlet.jetty.IncludableGzipFilter$IncludableResponseWrapper.newGzipStream(
      2 frames
    5. Jetty Util
      1. org.mortbay.servlet.GzipFilter$GZIPResponseWrapper.getOutputStream(
      1 frame
    6. JavaServlet
      1. javax.servlet.ServletResponseWrapper.getOutputStream(
      1 frame