[teiid-issues] [JBoss JIRA] Closed: (TEIID-743) Excessive cloning of connector binding properties

Steven Hawkins (JIRA) jira-events at lists.jboss.org
Mon Sep 21 13:37:05 EDT 2009


     [ https://jira.jboss.org/jira/browse/TEIID-743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steven Hawkins closed TEIID-743.
--------------------------------



> Excessive cloning of connector binding properties
> -------------------------------------------------
>
>                 Key: TEIID-743
>                 URL: https://jira.jboss.org/jira/browse/TEIID-743
>             Project: Teiid
>          Issue Type: Bug
>          Components: Common
>    Affects Versions: 6.1.0
>            Reporter: Ramesh Reddy
>            Assignee: Ramesh Reddy
>             Fix For: 6.2.0
>
>
> The connector binding properties are excessively being cloned at each level, which leads to lot if memory overhead. In the case of handling the hundreds of connector bindings this will result in OOM. 
> 1) The connector binding properties does not have access to the configuration level properties (properties in deploy.properties)
> 2) Default property mechanism not being used.  When you create a properties object  like "new Properties(defaultProps)", the defaultProps object properties are not copied into the container properties object, nor they can be changed. They can be overridden, but will not affect the defaultProps object.
> 3) Properties not being cached
> For (2) connector binding properties need to be layered such that the connector binding property tree object will look like
> system properties
>        |-------------------------> deploy.properties
>                                                        |------------------> Connector Type Properties 
>                                                                                                     |----------------------------> Connector Binding Properties
> For (3) since up to the "Connector Type Properties", are common for a given Connector Binding they should be cached to minimize the memory overhead.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the teiid-issues mailing list