felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard S. Hall (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FELIX-2092) Improve memory profile of model elements by using arrays and null objects vs HashSets to store parts of model
Date Wed, 17 Feb 2010 16:35:27 GMT

    [ https://issues.apache.org/jira/browse/FELIX-2092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12834827#action_12834827
] 

Richard S. Hall commented on FELIX-2092:
----------------------------------------

Are you talking about actual arrays or ArrayList? I was using arrays in the framework to be
more efficient, but I've recently made the decision to move to ArrayLists instead since after
looking into their implementation details more closely, it seems they are pretty efficient.

> Improve memory profile of model elements by using arrays and null objects vs HashSets
to store parts of model
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-2092
>                 URL: https://issues.apache.org/jira/browse/FELIX-2092
>             Project: Felix
>          Issue Type: Improvement
>          Components: Sigil
>            Reporter: David Savage
>            Priority: Minor
>
> In large repositories the amount of meta data that is held in memory can cause OutOfMemoryErrors
if an attempt is made to cache data
> Candidate patches for improving the profile include, BundleModelElement (imports, exports,
requires) and AbstractModelElement.meta which are the main offenders according to YourKit
analysis

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message