From dev-return-9612-apmail-karaf-dev-archive=karaf.apache.org@karaf.apache.org Mon Nov 2 17:35:30 2015 Return-Path: X-Original-To: apmail-karaf-dev-archive@minotaur.apache.org Delivered-To: apmail-karaf-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BA4671823A for ; Mon, 2 Nov 2015 17:35:30 +0000 (UTC) Received: (qmail 91202 invoked by uid 500); 2 Nov 2015 17:35:30 -0000 Delivered-To: apmail-karaf-dev-archive@karaf.apache.org Received: (qmail 91168 invoked by uid 500); 2 Nov 2015 17:35:30 -0000 Mailing-List: contact dev-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list dev@karaf.apache.org Received: (qmail 90999 invoked by uid 99); 2 Nov 2015 17:35:30 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Nov 2015 17:35:30 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id E1151C28E8 for ; Mon, 2 Nov 2015 17:35:29 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.001 X-Spam-Level: * X-Spam-Status: No, score=1.001 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 7ZBe5Xfc1Ib9 for ; Mon, 2 Nov 2015 17:35:17 +0000 (UTC) Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 98A3221602 for ; Mon, 2 Nov 2015 17:35:16 +0000 (UTC) Received: from mfilter43-d.gandi.net (mfilter43-d.gandi.net [217.70.178.174]) by relay2-d.mail.gandi.net (Postfix) with ESMTP id A9A29C5A49 for ; Mon, 2 Nov 2015 18:35:15 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mfilter43-d.gandi.net Received: from relay2-d.mail.gandi.net ([IPv6:::ffff:217.70.183.194]) by mfilter43-d.gandi.net (mfilter43-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id WuUNlp13dGqV for ; Mon, 2 Nov 2015 18:35:14 +0100 (CET) X-Originating-IP: 82.238.224.4 Received: from [192.168.134.10] (bre91-1-82-238-224-4.fbx.proxad.net [82.238.224.4]) (Authenticated sender: jb@nanthrax.net) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 273C2C5A48 for ; Mon, 2 Nov 2015 18:35:14 +0100 (CET) Subject: Re: Memory Leak in pax-url To: dev@karaf.apache.org References: <5602B071.2070703@nanthrax.net> <56376E05.9090804@nanthrax.net> <56376F0B.2020201@nanthrax.net> From: =?UTF-8?Q?Jean-Baptiste_Onofr=c3=a9?= Message-ID: <56379ED1.8070608@nanthrax.net> Date: Mon, 2 Nov 2015 18:35:13 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Maybe it makes sense to define like this by default in Pax URL (or at least Karaf). Regards JB On 11/02/2015 06:24 PM, Fabian Lange wrote: > This should "fix" it, right? > > System.setProperty("aether.updateCheckManager.sessionState", "bypass"); > > Fabian > > > On Mon, Nov 2, 2015 at 3:11 PM, Jean-Baptiste Onofré > wrote: > >> Yes, I understand. >> >> I mean it's something to improve in Pax URL in order to use it in Karaf ;) >> >> Regards >> JB >> >> >> On 11/02/2015 03:08 PM, Fabian Lange wrote: >> >>> Hi JB, >>> unfortunately I cannot force that, I am using the pax url service behind >>> the scenes behind FeaturesService. >>> >>> Fabian >>> >>> On Mon, Nov 2, 2015 at 3:07 PM, Jean-Baptiste Onofré >>> wrote: >>> >>> Hi Fabian, >>>> >>>> I saw something similar in the Pax URL tests: for the SNAPSHOT, I used >>>> two >>>> different sessions in order to "force" the cache invalidation and >>>> retrieve >>>> the SNAPSHOT. >>>> >>>> It's something that we have to improve in Pax URL. >>>> >>>> Regards >>>> JB >>>> >>>> >>>> On 11/02/2015 02:59 PM, Fabian Lange wrote: >>>> >>>> Hi all, >>>>> there is a different issue with session caching. >>>>> "DefaultUpdateCheckManager | 5 - org.ops4j.pax.url.mvn - 2.4.3 | >>>>> Skipped remote request for >>>>> group:artifact:1.0.0-SNAPSHOT/maven-metadata.xml, already updated during >>>>> this session." >>>>> >>>>> Any quick ideas how we could fix this? >>>>> >>>>> Fabian >>>>> >>>>> On Wed, Sep 23, 2015 at 4:05 PM, Fabian Lange < >>>>> fabian.lange@codecentric.de> >>>>> wrote: >>>>> >>>>> Great service, thank you! >>>>> >>>>>> >>>>>> Fabian >>>>>> >>>>>> On Wed, Sep 23, 2015 at 4:00 PM, Jean-Baptiste Onofré >>>>>> >>>>>> wrote: >>>>>> >>>>>> Hi guys, >>>>>> >>>>>>> >>>>>>> I will check the change, update to a Pax URL SNAPSHOT in Karaf (in >>>>>>> order >>>>>>> to test), do the release of Pax URL and include in Karaf ;) >>>>>>> >>>>>>> Let me create the Jira. >>>>>>> >>>>>>> Regards >>>>>>> JB >>>>>>> >>>>>>> >>>>>>> On 09/23/2015 01:49 PM, Achim Nierbeck wrote: >>>>>>> >>>>>>> Hi >>>>>>> >>>>>>>> >>>>>>>> procedure is simple, we would need a new release for Pax-URL which >>>>>>>> will >>>>>>>> be >>>>>>>> included in the next version of Karaf 4.0.2, >>>>>>>> which is supposed to be released today ;) >>>>>>>> So we might just as well hold the release train for that for another >>>>>>>> day >>>>>>>> to >>>>>>>> get Pax-URL released first. >>>>>>>> >>>>>>>> regards, Achim >>>>>>>> >>>>>>>> 2015-09-23 13:46 GMT+02:00 Fabian Lange >>>>>>>> : >>>>>>>> >>>>>>>> Hi, >>>>>>>> >>>>>>>> I found and fixed a memory leak in pax-url >>>>>>>>> https://github.com/ops4j/org.ops4j.pax.url/pull/16 >>>>>>>>> >>>>>>>>> This crashed a couple of karaf instances I am running. >>>>>>>>> >>>>>>>>> I have not merged the fix yet (because I want some additional eyes >>>>>>>>> on >>>>>>>>> it), >>>>>>>>> but I wonder how the procedure to get the fix into karaf would be >>>>>>>>> then? >>>>>>>>> Could anybody support me here? >>>>>>>>> >>>>>>>>> Fabian >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> >>>>>>> Jean-Baptiste Onofré >>>>>>> jbonofre@apache.org >>>>>>> http://blog.nanthrax.net >>>>>>> Talend - http://www.talend.com >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>> -- >>>> Jean-Baptiste Onofré >>>> jbonofre@apache.org >>>> http://blog.nanthrax.net >>>> Talend - http://www.talend.com >>>> >>>> >>> >> -- >> Jean-Baptiste Onofré >> jbonofre@apache.org >> http://blog.nanthrax.net >> Talend - http://www.talend.com >> > -- Jean-Baptiste Onofré jbonofre@apache.org http://blog.nanthrax.net Talend - http://www.talend.com