Results 1 to 3 of 3
  1. #1
    CaffeineDK is offline Member
    Join Date
    Feb 2009
    Rep Power

    Exclamation java.lang.Error: Cleaner terminated abnormally

    Hi Guys/Gals,

    We've been experiencing the following error lately and were wondering if anyone could enlighten us about what's happening:

    The heap size is 4096M, and looking at the GC output, It looks like an oom situation situation.

    But why are we getting a Cleaner terminated error? As far as I can tell there are no oom exceptions of any kind thrown.

    What are usual causes for an error like this?

    Here are our settings:

    debian Linux 4.0 @ 2x quad core Xeon L5420 w/ 8gb ram

    sun-jdk (x64 server vm) w/ following options:


    ---- error snippet ----
    [GC 4060616K->3924100K(4177280K), 0.1517880 secs]
    [GC 4060420K->3926867K(4177280K), 0.0883940 secs]
    [GC 4062488K->3931589K(4177280K), 0.1008470 secs]
    [GC 4067906K->3935097K(4177280K), 0.0931530 secs]
    [GC 4071417K->3934946K(4177280K), 0.0787300 secs]
    [GC 4029027K(4177280K), 0.1941170 secs]
    java.lang.Error: Cleaner terminated abnormally
    at sun.misc.Cleaner$
    at Method)
    at sun.misc.Cleaner.clean(
    at java.lang.ref.Reference$
    Caused by: java.lang.Error: Broken pipe
    at$SelectorWrapper$ va:97)
    at sun.misc.Cleaner.clean(
    ... 1 more
    Caused by: Broken pipe
    at Method)
    at java.nio.channels.spi.AbstractSelector.close(Abstr
    at$SelectorWrapper$ va:95)
    ... 2 more

    The only thing I could find remotely relevant is Bug ID: 4938372 (fs) Overlapping mapped files cannot be unmapped (windows), which is from 2003.

  2. #2
    toadaly is offline Senior Member
    Join Date
    Jan 2009
    Rep Power


    I don't see anything here that suggests a oom error except your printed GC statements.

    It's throwing an IOException, not a memory error. However, you can download the source code from Sun and see what Cleaner line 125 is to see if it might be related to an oom error. More than once I've had to dig through the java source code to figure out a problem. (I actually had to do this earlier today...oddly enough)

  3. #3
    Steve11235's Avatar
    Steve11235 is offline Senior Member
    Join Date
    Dec 2008
    Rep Power


    Looking at your messages, Java is calling some external code to access a pipe, which is an OS supported communications queue. The pipe is "broken", which causes the error. Sounds like an OS problem. I'd google "broken pipe".

Similar Threads

  1. java.lang.NullPointerException Error
    By Manfizy in forum NetBeans
    Replies: 3
    Last Post: 02-24-2011, 06:27 AM
  2. Replies: 2
    Last Post: 12-02-2008, 11:01 AM
  3. How to over come java.lang.out of memory error
    By Chaitra_gm in forum New To Java
    Replies: 5
    Last Post: 09-28-2008, 10:33 AM
  4. Replies: 2
    Last Post: 09-18-2008, 07:30 AM
  5. Replies: 1
    Last Post: 07-31-2007, 11:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts