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 89648 - Code model memory consumption shouldn't depend linearly on project size
Summary: Code model memory consumption shouldn't depend linearly on project size
Status: RESOLVED WONTFIX
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on: 91546
Blocks: 123872
  Show dependency tree
 
Reported: 2006-11-20 10:46 UTC by Vladimir Kvashin
Modified: 2012-07-31 12:23 UTC (History)
0 users

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 Vladimir Kvashin 2006-11-20 10:46:17 UTC
Now code model consumes a lot of memory. And even if we reduce memory consumtion
twice - or thrice - it won't help. If user creates project that is large enough,
he'll finally get OutOfMemoryError.

The problem is in the code model implementation design - it's too monolitic now;
objects hard reference other objects, so the entire model should necessarily
reside in memory.

Code model implementation should be redesign so that the entire model won't
reside necessarily in memory.
Comment 1 Jesse Grodnik 2006-11-28 23:28:10 UTC
Default setting for tasks is P3.