Return-Path: X-Original-To: apmail-jackrabbit-dev-archive@www.apache.org Delivered-To: apmail-jackrabbit-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 4A91ADC94 for ; Mon, 17 Dec 2012 09:48:14 +0000 (UTC) Received: (qmail 84616 invoked by uid 500); 17 Dec 2012 09:48:14 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 84547 invoked by uid 500); 17 Dec 2012 09:48:13 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 84425 invoked by uid 99); 17 Dec 2012 09:48:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Dec 2012 09:48:13 +0000 Date: Mon, 17 Dec 2012 09:48:12 +0000 (UTC) From: "Alexander Muthmann (JIRA)" To: dev@jackrabbit.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (JCR-3305) spi2davex.RepositoryServiceImpl -> idUriCache raises until heap overflow MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/JCR-3305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13533792#comment-13533792 ] Alexander Muthmann commented on JCR-3305: ----------------------------------------- This issue can be resolved by using an LRU Cache with a fixed max-size instead of the two HashMaps currently used in IdURICache.java. > spi2davex.RepositoryServiceImpl -> idUriCache raises until heap overflow > ------------------------------------------------------------------------ > > Key: JCR-3305 > URL: https://issues.apache.org/jira/browse/JCR-3305 > Project: Jackrabbit Content Repository > Issue Type: Bug > Components: jackrabbit-spi2dav > Reporter: Daniel Draeger > > from class URIResolverImpl: > // TODO: to-be-fixed. uri/id-caches don't get updated > While querying the JCR, it seems that the queryPath of each result property of each node is cached within the idUriCache and the cache is never cleaned up. > - cleaning the cache > - configurable parameter for max cache size should be available -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira