Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8AEF73AA5 for ; Mon, 2 May 2011 08:09:46 +0000 (UTC) Received: (qmail 55286 invoked by uid 500); 2 May 2011 08:09:46 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 55090 invoked by uid 500); 2 May 2011 08:09:43 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 55082 invoked by uid 99); 2 May 2011 08:09:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 May 2011 08:09:42 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 May 2011 08:09:41 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 2F2E4BDBBE for ; Mon, 2 May 2011 08:09:03 +0000 (UTC) Date: Mon, 2 May 2011 08:09:03 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: dev@camel.apache.org Message-ID: <163488312.14811.1304323743189.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (CAMEL-3922) LRUSoftCache - Should use SoftReference to support OOME MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 LRUSoftCache - Should use SoftReference to support OOME ------------------------------------------------------- Key: CAMEL-3922 URL: https://issues.apache.org/jira/browse/CAMEL-3922 Project: Camel Issue Type: Improvement Components: camel-core Reporter: Claus Ibsen Assignee: Claus Ibsen Fix For: 2.8.0 We should creata a LRUSoftCache that uses SoftReferences for cached values. This supports the JVM when it runs low on memory and want to re-claim unused objects from the cache. We can use this for a certain number of caches where this is feasible such as - endpoint cache - producer cache - consumer cache Currently end users can only set a fixed max size on those cache. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira