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 42475 - [perf] Refactoring does not reasonably work with -Xmx96m
Summary: [perf] Refactoring does not reasonably work with -Xmx96m
Status: RESOLVED DUPLICATE of bug 43295
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC All
: P2 blocker (vote)
Assignee: issues@java
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2004-04-26 16:47 UTC by Antonin Nebuzelsky
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antonin Nebuzelsky 2004-04-26 16:47:02 UTC
Maximum heap size is currently set to 96MB in
trunk. Refactoring features, as present in
meta_stavbicka branch, don't work reasonably fast
with this heap setting. When working with a
mid-sized project, like jEdit, in the IDE,
refactoring can be fully used only with -Xmx128m
or more.

It has to be investigated if memory demands of
refactoring can be decreased, or if the maximum
heap size parameter will be requested to be increased.
Comment 1 Jan Becicka 2004-05-18 10:04:03 UTC
Tondo, would you mind if I resolve this issue as duplicate of issue
43295? Or do you think, that these 2 issues should be solved
independently?

From my point of view it is the same issue: refactoring consumes too
much memory.

Comment 2 Antonin Nebuzelsky 2004-05-18 10:35:51 UTC
This bug was ment as a heads-up for all of us to find out the optimal
Xmx in the case refactoring demands cannot be decreased to 96m. Let's
keep it, if you don't mind too much. ;)
Comment 3 Antonin Nebuzelsky 2004-05-28 14:54:52 UTC
As Radim found out with visualcg from jvmstat tool IDEA seems to have
maximum heap size set to 192MB.

Performance team agreed we don't want to go over 160MB and even that
may be too much, considering that minimum and recommended HW
configurations would have to be increased significantly in such a
case, users with less than 512MB RAM would have problems running
Netbeans, and IDEs built on top of Netbeans would have to go even
higher in HW requirements which may be unacceptable.
Comment 4 Tomas Hurka 2004-06-22 08:41:51 UTC
Moved to new subcomponent java/javacore.
Comment 5 Jan Becicka 2004-06-30 13:59:15 UTC

*** This issue has been marked as a duplicate of 43295 ***
Comment 6 Quality Engineering 2007-09-20 11:00:23 UTC
Reorganization of java component