This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 123812 - Fix JSP parser to solve memory leaks and UI responsiveness issues
Summary: Fix JSP parser to solve memory leaks and UI responsiveness issues
Status: NEW
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP Parser (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@javaee
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2007-12-11 13:35 UTC by Tomas Mysik
Modified: 2010-09-21 10:00 UTC (History)
1 user (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Mysik 2007-12-11 13:35:20 UTC
Rewrite JSP parser to fix memory leaks, memory consumption in general (for each project of the same type there's cache 
with the same data). Also UI responsiveness should be improved because now for each parsing there's a new thread and 
this thread is not interrupted when needed (typically when user starts typing etc.).

Existing issues for:
- memory leaks
issue #85817

- UI responsiveness
issue #71584
maybe issue #123441
maybe issue #118123
Comment 1 Petr Nejedly 2007-12-11 15:43:07 UTC
Please note that according to heap dump from issue #123003, there are more instances of TagLibraryInfoImpl (>4MB each)
even for single project.
I have analyzed first 8 instances of large doc String, each referenced from its own TLII and each TLII in turn referenced
from related instance of JSPSyntaxSupport, all from single project.
In short, for 8 source files (.jsp and .jspf) from a single project, there are 8 complete copies of tag library sets in
memory. 
Comment 2 Jiri Prox 2008-04-11 01:11:56 UTC
moving opened issues from TM <= 6.1 to TM=Dev