Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 254CC200B87 for ; Mon, 19 Sep 2016 12:09:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 23F96160ACC; Mon, 19 Sep 2016 10:09:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 91097160ABC for ; Mon, 19 Sep 2016 12:09:21 +0200 (CEST) Received: (qmail 84248 invoked by uid 500); 19 Sep 2016 10:09:20 -0000 Mailing-List: contact dev-help@aries.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aries.apache.org Delivered-To: mailing list dev@aries.apache.org Received: (qmail 84232 invoked by uid 99); 19 Sep 2016 10:09:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Sep 2016 10:09:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 9B66B2C0D59 for ; Mon, 19 Sep 2016 10:09:20 +0000 (UTC) Date: Mon, 19 Sep 2016 10:09:20 +0000 (UTC) From: "Timothy Ward (JIRA)" To: dev@aries.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ARIES-1603) Aries async classloader leak MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 19 Sep 2016 10:09:22 -0000 [ https://issues.apache.org/jira/browse/ARIES-1603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15502955#comment-15502955 ] Timothy Ward commented on ARIES-1603: ------------------------------------- The simple answer was that it wasn't - a tidy up before the commit removed the magic line needed. I've fixed that, and added unit tests to prove that the cache is being used, both for interfaces and classes. > Aries async classloader leak > ---------------------------- > > Key: ARIES-1603 > URL: https://issues.apache.org/jira/browse/ARIES-1603 > Project: Aries > Issue Type: Bug > Affects Versions: async-1.0.2 > Reporter: Paul Thevenot > > Using the async service with repeated tasks during one hour leads to an out of memory. It's due to the very large amount of class loaded (in 10 min we get 20000 classes loaded). The metaspace is growing indefinitely. > It seems to come from the privMediate method of the AsyncService where the classloader of the target service is cloned. -- This message was sent by Atlassian JIRA (v6.3.4#6332)