[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-538) first time open of visual editor is slooow

Snjezana Peco (JIRA) jira-events at lists.jboss.org
Thu Jan 3 17:18:45 EST 2008


    [ http://jira.jboss.com/jira/browse/JBIDE-538?page=comments#action_12393802 ] 
            
Snjezana Peco commented on JBIDE-538:
-------------------------------------

After every opening/closing the VPE editor (or any view/editor that uses the mozilla browser) the Mozilla, Browser and some other classes are leaked, but that doesn't have a bigger effect on  VPE. These classes are small. The leak didn't cause the VPE leak I described  in this jira.
This can't be fixed within JBoss Tools because  the leak is in the Mozilla class that is a common part of  the SWT plugins (all platforms have this problem).
Grant has added the fix to the Eclipse CVS head and it will be available in some future version of  Eclipse.
However, VPE has some other problem that has been described in http://jira.jboss.com/jira/browse/JBIDE-675 and http://jira.jboss.com/jira/browse/JBIDE-1105.
Namely, editing in the source editor increases dom mapping continually and memory usage will  increase until you get OutOfMemory. You can try the following test case:

- open employee.xhtml described in JBIDE-675
- click " ENTER" a few times
- after some clicking on the ENTER key (depending on your -Xmx settings) you will get OOM

This problem isn't fixed in the patch I have added, but I have been analyzing it.

> first time open of visual editor is slooow
> ------------------------------------------
>
>                 Key: JBIDE-538
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-538
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: integration
>    Affects Versions: ExadelStudioPro4
>            Reporter: Max Andersen
>         Assigned To: Sergey Vasilyev
>            Priority: Critical
>             Fix For: LATER
>
>         Attachments: org.jboss.tools.common.kb.patch, org.jboss.tools.jst.jsp.patch, org.jboss.tools.vpe.patch, org.jboss.tools.vpe.xulrunner.patch
>
>
> First time a visual editor is opened Eclipse freezes and in the worst case it turns all white.
> I assume this is because of the first start of the mozilla engine.
> We should investigate if it wouldn't be possible to start this in the background; showing a "Starting visual editor...." in the visual part of the editor until it is ready.

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

        



More information about the jbosstools-issues mailing list