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

Max Rydahl Andersen (JIRA) issues at jboss.org
Mon Jan 20 06:56:24 EST 2014


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

Max Rydahl Andersen resolved JBIDE-9785.
----------------------------------------

    Resolution: Out of Date


Thank you for reporting this issue but this issue have been resolved as out-of-date since it has not had any updates for the last 2+ years (730 days).

If you believe this issue is still relevant and important then please reopen the issue or create a new one mentioning/linking this jira for background information.

Thank you!


                
> 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: LATER
>
>         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
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list