[jira] Created: (OFBIZ-1291) reduce memory usage in entitymodel.xml and services.xml reading/parsing

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (OFBIZ-1291) reduce memory usage in entitymodel.xml and services.xml reading/parsing

Nicolas Malin (Jira)
reduce memory usage in entitymodel.xml and services.xml reading/parsing
-----------------------------------------------------------------------

                 Key: OFBIZ-1291
                 URL: https://issues.apache.org/jira/browse/OFBIZ-1291
             Project: OFBiz
          Issue Type: Improvement
          Components: framework
    Affects Versions: SVN trunk
            Reporter: Adam Heath
            Priority: Minor
             Fix For: SVN trunk
         Attachments: InternModelServiceEntity.patch

While reading the above files, several strings are created; however, they end up sharing internal character arrays.  Interning the strings reduces this usage significantly.  This was discovered while using java 1.6 and jhat.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-1291) reduce memory usage in entitymodel.xml and services.xml reading/parsing

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-1291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adam Heath updated OFBIZ-1291:
------------------------------

    Attachment: InternModelServiceEntity.patch

See comment in attached patch.

> reduce memory usage in entitymodel.xml and services.xml reading/parsing
> -----------------------------------------------------------------------
>
>                 Key: OFBIZ-1291
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1291
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Adam Heath
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: InternModelServiceEntity.patch
>
>
> While reading the above files, several strings are created; however, they end up sharing internal character arrays.  Interning the strings reduces this usage significantly.  This was discovered while using java 1.6 and jhat.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-1291) reduce memory usage in entitymodel.xml and services.xml reading/parsing

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-1291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adam Heath updated OFBIZ-1291:
------------------------------

    Attachment:     (was: InternModelServiceEntity.patch)

> reduce memory usage in entitymodel.xml and services.xml reading/parsing
> -----------------------------------------------------------------------
>
>                 Key: OFBIZ-1291
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1291
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Adam Heath
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: framework-entity-InternModelServiceEntity.patch
>
>
> While reading the above files, several strings are created; however, they end up sharing internal character arrays.  Interning the strings reduces this usage significantly.  This was discovered while using java 1.6 and jhat.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-1291) reduce memory usage in entitymodel.xml and services.xml reading/parsing

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-1291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adam Heath updated OFBIZ-1291:
------------------------------

    Attachment: framework-entity-InternModelServiceEntity.patch

> reduce memory usage in entitymodel.xml and services.xml reading/parsing
> -----------------------------------------------------------------------
>
>                 Key: OFBIZ-1291
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1291
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Adam Heath
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: framework-entity-InternModelServiceEntity.patch
>
>
> While reading the above files, several strings are created; however, they end up sharing internal character arrays.  Interning the strings reduces this usage significantly.  This was discovered while using java 1.6 and jhat.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1291) reduce memory usage in entitymodel.xml and services.xml reading/parsing

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-1291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12532498 ]

Adam Heath commented on OFBIZ-1291:
-----------------------------------

This now depends on OFBIZ-1307.

> reduce memory usage in entitymodel.xml and services.xml reading/parsing
> -----------------------------------------------------------------------
>
>                 Key: OFBIZ-1291
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1291
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Adam Heath
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: framework-entity-InternModelServiceEntity.patch
>
>
> While reading the above files, several strings are created; however, they end up sharing internal character arrays.  Interning the strings reduces this usage significantly.  This was discovered while using java 1.6 and jhat.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-1291) reduce memory usage in entitymodel.xml and services.xml reading/parsing

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-1291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adam Heath updated OFBIZ-1291:
------------------------------

    Attachment: framework-entity-InternModelServiceEntity.patch

Yet another version of this.  Removed the embedded UtilXml changes.

> reduce memory usage in entitymodel.xml and services.xml reading/parsing
> -----------------------------------------------------------------------
>
>                 Key: OFBIZ-1291
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1291
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Adam Heath
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: framework-entity-InternModelServiceEntity.patch
>
>
> While reading the above files, several strings are created; however, they end up sharing internal character arrays.  Interning the strings reduces this usage significantly.  This was discovered while using java 1.6 and jhat.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-1291) reduce memory usage in entitymodel.xml and services.xml reading/parsing

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-1291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adam Heath updated OFBIZ-1291:
------------------------------

    Attachment:     (was: framework-entity-InternModelServiceEntity.patch)

> reduce memory usage in entitymodel.xml and services.xml reading/parsing
> -----------------------------------------------------------------------
>
>                 Key: OFBIZ-1291
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1291
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Adam Heath
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: framework-entity-InternModelServiceEntity.patch
>
>
> While reading the above files, several strings are created; however, they end up sharing internal character arrays.  Interning the strings reduces this usage significantly.  This was discovered while using java 1.6 and jhat.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-1291) reduce memory usage in entitymodel.xml and services.xml reading/parsing

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-1291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adam Heath updated OFBIZ-1291:
------------------------------

    Assignee: Adam Heath

> reduce memory usage in entitymodel.xml and services.xml reading/parsing
> -----------------------------------------------------------------------
>
>                 Key: OFBIZ-1291
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1291
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Adam Heath
>            Assignee: Adam Heath
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: framework-entity-InternModelServiceEntity.patch
>
>
> While reading the above files, several strings are created; however, they end up sharing internal character arrays.  Interning the strings reduces this usage significantly.  This was discovered while using java 1.6 and jhat.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-1291) reduce memory usage in entitymodel.xml and services.xml reading/parsing

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-1291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adam Heath closed OFBIZ-1291.
-----------------------------

    Resolution: Fixed

Applied to svn in version 585761.

> reduce memory usage in entitymodel.xml and services.xml reading/parsing
> -----------------------------------------------------------------------
>
>                 Key: OFBIZ-1291
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1291
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Adam Heath
>            Assignee: Adam Heath
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: framework-entity-InternModelServiceEntity.patch
>
>
> While reading the above files, several strings are created; however, they end up sharing internal character arrays.  Interning the strings reduces this usage significantly.  This was discovered while using java 1.6 and jhat.

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