Return-Path: Delivered-To: apmail-incubator-clerezza-dev-archive@minotaur.apache.org Received: (qmail 85990 invoked from network); 13 Jan 2011 20:09:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Jan 2011 20:09:09 -0000 Received: (qmail 27811 invoked by uid 500); 13 Jan 2011 20:09:09 -0000 Delivered-To: apmail-incubator-clerezza-dev-archive@incubator.apache.org Received: (qmail 27755 invoked by uid 500); 13 Jan 2011 20:09:09 -0000 Mailing-List: contact clerezza-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: clerezza-dev@incubator.apache.org Delivered-To: mailing list clerezza-dev@incubator.apache.org Received: (qmail 27742 invoked by uid 99); 13 Jan 2011 20:09:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jan 2011 20:09:09 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jan 2011 20:09:08 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p0DK8mUH029771 for ; Thu, 13 Jan 2011 20:08:48 GMT Message-ID: <4755559.351501294949328388.JavaMail.jira@thor> Date: Thu, 13 Jan 2011 15:08:48 -0500 (EST) From: "Hasan (JIRA)" To: clerezza-dev@incubator.apache.org Subject: [jira] Created: (CLEREZZA-395) bnodes mapping in JenaGraphAdaptor should not keep growing with every parsing of rdf files MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 bnodes mapping in JenaGraphAdaptor should not keep growing with every parsing of rdf files ------------------------------------------------------------------------------------------ Key: CLEREZZA-395 URL: https://issues.apache.org/jira/browse/CLEREZZA-395 Project: Clerezza Issue Type: Improvement Reporter: Hasan With every parsing of rdf files free memory is getting less. The problem seems to lie in the JenaGraphAdaptor class It has a member: final BidiMap tria2JenaBNodes = new BidiMapImpl(); which grows each time a serialized graph get parsed. My experiments with my test data show At the end of the 1st parsing: Size of tria2JenaBNodes = 87200 At the end of the 2nd parsing: Size of tria2JenaBNodes = 130800 At the end of the 3rd parsing: Size of tria2JenaBNodes = 174400 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.