Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #14948 > unrolled thread

JNDI memory leak

Started byJaydeep Chovatia <chovatia.jaydeep@gmail.com>
First post2012-05-30 15:59 -0700
Last post2012-06-02 09:34 -0700
Articles 4 — 4 participants

Back to article view | Back to comp.lang.java.programmer


Contents

  JNDI memory leak Jaydeep Chovatia <chovatia.jaydeep@gmail.com> - 2012-05-30 15:59 -0700
    Re: JNDI memory leak Arne Vajhøj <arne@vajhoej.dk> - 2012-05-30 19:15 -0400
    Re: JNDI memory leak Roedy Green <see_website@mindprod.com.invalid> - 2012-05-31 00:41 -0700
    Re: JNDI memory leak Lew <noone@lewscanon.com> - 2012-06-02 09:34 -0700

#14948 — JNDI memory leak

FromJaydeep Chovatia <chovatia.jaydeep@gmail.com>
Date2012-05-30 15:59 -0700
SubjectJNDI memory leak
Message-ID<ecc28a6b-b693-4736-9c47-9d73255c95af@h10g2000pbi.googlegroups.com>
Hi,

I have written sample program using JNDI to search attributes in LDAP.
This sample program shows leaks on Linux, however same sample program
works fine on Windows.

Following is my JDK details:
JDK: 1.7  (OpenJDK)

On Linux memory start with 20MB (RES) and it reaches upto 1.2G,
however on Windows it remains 20~25MB throughout.

I was able to find something but unable to conclude
 http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6522848

Any help on this would be highly appreciated.

Thank you,
Jaydeep

[toc] | [next] | [standalone]


#14949

FromArne Vajhøj <arne@vajhoej.dk>
Date2012-05-30 19:15 -0400
Message-ID<4fc6a9f8$0$283$14726298@news.sunsite.dk>
In reply to#14948
On 5/30/2012 6:59 PM, Jaydeep Chovatia wrote:
> I have written sample program using JNDI to search attributes in LDAP.
> This sample program shows leaks on Linux, however same sample program
> works fine on Windows.
>
> Following is my JDK details:
> JDK: 1.7  (OpenJDK)
>
> On Linux memory start with 20MB (RES) and it reaches upto 1.2G,
> however on Windows it remains 20~25MB throughout.
>
> I was able to find something but unable to conclude
>   http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6522848
>
> Any help on this would be highly appreciated.

Could you try with different Java versions (both different
vendor and different version number) and see if it reveals
something.

Arne

[toc] | [prev] | [next] | [standalone]


#14952

FromRoedy Green <see_website@mindprod.com.invalid>
Date2012-05-31 00:41 -0700
Message-ID<048es75887lhi8paqulk6se4sr05gol5p3@4ax.com>
In reply to#14948
On Wed, 30 May 2012 15:59:32 -0700 (PDT), Jaydeep Chovatia
<chovatia.jaydeep@gmail.com> wrote, quoted or indirectly quoted
someone who said :

>I have written sample program using JNDI to search attributes in LDAP.
>This sample program shows leaks on Linux, however same sample program
>works fine on Windows.

see http://mindprod.com/jgloss/packratting.html
-- 
Roedy Green Canadian Mind Products
http://mindprod.com
Controlling complexity is the essence of computer programming.
~ Brian W. Kernighan 1942-01-01
.

[toc] | [prev] | [next] | [standalone]


#15006

FromLew <noone@lewscanon.com>
Date2012-06-02 09:34 -0700
Message-ID<jqdfam$abd$1@news.albasani.net>
In reply to#14948
Jaydeep Chovatia wrote:
> I have written sample program using JNDI to search attributes in LDAP.
> This sample program shows leaks on Linux, however same sample program
> works fine on Windows.
>
> Following is my JDK details:
> JDK: 1.7  (OpenJDK)
>
> On Linux memory start with 20MB (RES) and it reaches upto 1.2G,
> however on Windows it remains 20~25MB throughout.
>
> I was able to find something but unable to conclude
>   http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6522848
>
> Any help on this would be highly appreciated.

It's your program code, in the call to 'FrxClqz#kshtYonm()'.

In other words, data please, preferable as an SSCCE.

http://sscce.org/

-- 
Lew
Honi soit qui mal y pense.
http://upload.wikimedia.org/wikipedia/commons/c/cf/Friz.jpg

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.programmer


csiph-web