Path: csiph.com!usenet.pasdenom.info!news.albasani.net!.POSTED!not-for-mail From: Lew Newsgroups: comp.lang.java.programmer Subject: Re: JNDI memory leak Date: Sat, 02 Jun 2012 09:34:41 -0700 Organization: albasani.net Lines: 26 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.albasani.net IFtPi0onnEzG3IirV1UbrvGw7UYwnX95wm6z98ZaSr9kN5o4CcZiTnVoLrAXIQTxaRZ/3J0n0YwVw1WMjgjFADBj/9/g6GlrzBrD94HHDcMwtRQbnNXnzgAPSfvbmGgy NNTP-Posting-Date: Sat, 2 Jun 2012 16:34:30 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="wWJmuSCOW0dUK0pEk6kkcgTFvUt3PQpU+PnYb7l/GDGoj65yId8TPtPKYv1qrJrPgV5Wn7Fyb/yeI6b1oicNfyXzxskJhCTBMgs3CFIWcoKQX4HE7BhizyMkXu/IoDG+"; mail-complaints-to="abuse@albasani.net" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 In-Reply-To: Cancel-Lock: sha1:WZbKElh/8nnkUKsjLJ7okqCaGvg= Xref: csiph.com comp.lang.java.programmer:15006 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