Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-936

Kafka Metrics Memory Leak

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 0.8.0
    • None
    • consumer
    • None
    • centos linux, jdk 1.6, jboss

    Description

      I am using kafka_2.8.0-0.8.0-SNAPSHOT version. I am running into OutOfMemoryError in PermGen Space. I have set the -XX:MaxPermSize=512m, but I still get the same error. I used profiler to trace the memory leak, and found the following kafka classes to be the cause for the memory leak. Please let me know if you need any additional information to debug this issue.

      kafka.server.FetcherLagMetrics
      kafka.consumer.FetchRequestAndResponseMetrics
      kafka.consumer.FetchRequestAndResponseStats
      kafka.metrics.KafkaTimer
      kafka.utils.Pool

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            nehanarkhede Neha Narkhede
            senthilchittibabu Senthil Chittibabu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment