[jbosstools-issues] [JBoss JIRA] (JBIDE-9785) File storage for KB model is too big.

Viacheslav Kabanovich (Updated) (JIRA) jira-events at lists.jboss.org
Tue Oct 18 21:03:45 EDT 2011


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

Viacheslav Kabanovich updated JBIDE-9785:
-----------------------------------------

    Fix Version/s: 3.3.0.Beta1
                       (was: 3.3.0.M4)

    
> File storage for KB model is too big.
> -------------------------------------
>
>                 Key: JBIDE-9785
>                 URL: https://issues.jboss.org/browse/JBIDE-9785
>             Project: Tools (JBoss Tools)
>          Issue Type: Enhancement
>          Components: CDI, common/jst/core
>    Affects Versions: 3.3.0.M3
>            Reporter: Viacheslav Kabanovich
>            Assignee: Viacheslav Kabanovich
>             Fix For: 3.3.0.Beta1
>
>         Attachments: jsf-example-new.xml, jsf-example-old.xml
>
>
> File %workspace%/.metadata/.plugins/org.jboss.tools.jst.web.kb/projects/%project_name%.xml keeps serialized KB model and linked resources detected by CDI and other builders and validators. The file is an easy readable xml, but it is too long.
> 1) Tag libraries are saved in such details that only those loaded from standard.jar take as much as 100K of memory. At the same time, when KB project is restored at Eclipse start, KB model is being bound to underlying XModel so that the serialized objects do not provide any advantage comparing to direct loading from XModel. Therefore, we should serialize only first-level link between tag library and XModel file object.
> 2) Linked resources include full path references, each may be repeated many times. I suggest generating short alias for each path, then the table for linking alias to path will reference each of them just once, and the list of linked resources will reference short aliases only.
> These two suggestions will reduce the file storage 3-5 times.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list