Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8943891
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T11:54:03+00:00 2026-06-15T11:54:03+00:00

I have an apparent memory leak in a hadoop program I’m running. Specifically I

  • 0

I have an apparent memory leak in a hadoop program I’m running. Specifically I get the message:
ERROR GC overhead limit exceeded
followed later by the exception

attempt_201210041336_0765_m_0000000_1: Exception in thread "Tread for syncLogs" java.lang.OutOfMemoryError: GC overhead limit exceeded
attempt_201210041336_0765_m_0000000_1: at java.util.Vector.elements (Vector.java:292)
attempt_201210041336_0765_m_0000000_1: at org.apache.log4j.helpers.AppenderAtachableImpl.getAllAppenders(AppenderAttachableImpl.java:84
attempt_201210041336_0765_m_0000000_1: at org.apache.log4j.Category.getAllAppenders (Category.java:415)
attempt_201210041336_0765_m_0000000_1: at org.apache.hadoop.mapred.TaskLog.syncLogs(TaskLog.java:256)
attempt_201210041336_0765_m_0000000_1: at org.apache.hadoop.mapred.Child$3.run(Child.java:157)

I’m running on what should be very small data sets in an initial trial, so I shouldn’t be hitting any memory limit. More to the point I don’t want to change the hadoop configuration; if the program can’t run with the current configuration the program needs rewritten.

Can anyone help me figure out how to diagnose this issue? ise there a command line argument to get a stack trace of memory usage? any other way of tracking this issue?

ps. I wrote the error message by hand, can’t copy-paste from the system that has the issue. So please ignore any typo as being my stupid fault.

edit: update to this. I ran the job a few more times; while I always get the
Error GC overhead limit exceeded
message I don’t always get the stacktrace for log4j. So the issue is probably not log4j, instead log4j happened to fail due to the lack of memory caused by…something else?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T11:54:05+00:00Added an answer on June 15, 2026 at 11:54 am

    “GC overhead limit exceeded” probably means that a lot of short-lived objects are being created, more than the GC can handle without consuming more than 98% of the total time. See this question on how to find the problematic classes and allocation spots with JProfiler.

    Disclaimer: My company develops JProfiler.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a WindowsForms app that appears to leak memory, so I used Redgate's
I have a vector of strings which are changing its contents for no apparent
Does Java 6 consume more memory than you expect for largish applications? I have
I have a Google Map that suddenly stopped working for no apparent reason (I
I have some part of an android app here which crashes for no apparent
OMG! What an apparent problem... my django based scripts have locked my sqlite db...
Our app is getting hit pretty hard by a memory leak. I've found that
I have a problem, it'll probably become apparent as you read my function, but
It has become apparent through a series of SO questions today that I have
I have function calls that look like this (for no apparent reason): func (

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.