Results 1 to 2 of 2

Thread: LinkedBlockingQueue leaks memory

  1. #1
    Join Date
    Sep 2010
    Posts
    22

    Default LinkedBlockingQueue leaks memory

    http://bugs.sun.com/view_bug.do;jses...bug_id=6805775

    this one is fixed in jdk 7 the suggested work around is


    CUSTOMER SUBMITTED WORKAROUND :
    Do not use LinkedBlockingQueue from JDK in any long term queue.
    Replace by custom modified queue that null links.
    Posted Date : 2009-02-18 10:27:48.0


    I noticed that amqp uses LinkedBlockingQueue which is bound to leak

    Suresh

  2. #2
    Join Date
    Jun 2005
    Posts
    4,230

    Default

    I just looked in my copy of 1.6.0.20 and it has the fix suggested already, so there's probably no need to panic. (Update: that was on Linux, apparently on a Mac it's not fixed. I only have 1.6.0.16 on Windows.)
    Last edited by Dave Syer; Sep 29th, 2010 at 10:15 AM. Reason: platforms

Posting Permissions

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