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 46164 - Memory usage is out of control, 4.0 slow as molasses
Summary: Memory usage is out of control, 4.0 slow as molasses
Status: RESOLVED DUPLICATE of bug 43258
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Windows ME/2000
: P1 blocker (vote)
Assignee: issues@java
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2004-07-14 20:16 UTC by jfurmankiewicz
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 jfurmankiewicz 2004-07-14 20:16:03 UTC
Ever since I've been trying to use 4.0 dailies,
it's been an endless exercise in frustration. I'm
running here on W2K, Pentium 3 with 256MB of RAM,
a reasonable configuration.

NB 4.0 literally freezes on me all the time and
for extended periods (30 seconds, 60 seconds or
more). I check the Task Manager and voila!
nbexec.exe consumes 184 MB of RAM!!! This is
within 3 minutes of opening the IDE, on a project
with 1 class (one class) that only has a main
function with 2 lines of code! (a brand new project)

This is unreal...what did you do to take up 184 MB
of RAM on what is essentially an empty project?
In the main I was trying to set the L&F, so as
soon as I pressed "." after code like

UIManager.<I pressed "." here>

the whole IDE freezes for like a minute and my
whole system with it. The culprit...nbexec.exe
consumes 160 MB of RAM right away.

Right now the IDE is utterly unusable for any real
work, unless you're on a PC with god knows how
much RAM.

NB 3.6 was WAY better in this regard. Just to let
you know, Eclipse 3.0, Visual Studio .Net,
PowerBuilder (all of which I have installed and
use quite often) run fine and dandy on my PC with
hardly any performance issues. NB 4.0 falls off
the cliff, mostly due to your new insane memory usage.
Comment 1 Antonin Nebuzelsky 2004-07-15 11:22:31 UTC
Reassigning to the responsible team.
Comment 2 _ ttran 2004-07-16 16:36:39 UTC
JFURMANKIEWICZ: you should know that this is a development, pre-alpha
build.  All sort of bad things can happen.  If you want and IDE for
real day-to-day production work, use 3.6
Comment 3 Martin Matula 2004-07-16 16:56:26 UTC
The memory consumption is now significantly improved by the commits
below. To make sure the IDE does not consume too much memory, I would
also recommend you to run the IDE with -J-Xmx96m to set the max. heap
size to 96MB rather than the default 160MB. I believe after these
fixes this issue is not that serious, but there is still a higher
memory consuption than in the previous release. However that's already
covered by other issue - so I am changing the state of this issue to
be a duplicate of that issue.

Checking in src/org/netbeans/modules/javacore/Cache.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/Cache.java,v  <--
 Cache.java
new revision: 1.3; previous revision: 1.2
done
Processing log script arguments...
More commits to come...
Checking in
src/org/netbeans/modules/javacore/jmiimpl/javamodel/MetadataElement.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/MetadataElement.java,v
 <--  MetadataElement.java
new revision: 1.18; previous revision: 1.17
done
Checking in
src/org/netbeans/modules/javacore/jmiimpl/javamodel/MultipartIdImpl.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/MultipartIdImpl.java,v
 <--  MultipartIdImpl.java
new revision: 1.9; previous revision: 1.8
done
Checking in
src/org/netbeans/modules/javacore/jmiimpl/javamodel/TransientElement.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/TransientElement.java,v
 <--  TransientElement.java
new revision: 1.4; previous revision: 1.3
done
Processing log script arguments...
More commits to come...
Checking in src/org/netbeans/modules/javacore/parser/ASTProvider.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/parser/ASTProvider.java,v
 <--  ASTProvider.java
new revision: 1.11; previous revision: 1.10
done
Checking in
src/org/netbeans/modules/javacore/parser/AnnotationTypeInfo.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/parser/AnnotationTypeInfo.java,v
 <--  AnnotationTypeInfo.java
new revision: 1.3; previous revision: 1.2
done
Checking in src/org/netbeans/modules/javacore/parser/ClassInfo.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/parser/ClassInfo.java,v
 <--  ClassInfo.java
new revision: 1.6; previous revision: 1.5
done
Checking in src/org/netbeans/modules/javacore/parser/ElementInfo.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/parser/ElementInfo.java,v
 <--  ElementInfo.java
new revision: 1.8; previous revision: 1.7
done
Checking in src/org/netbeans/modules/javacore/parser/EnumInfo.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/parser/EnumInfo.java,v
 <--  EnumInfo.java
new revision: 1.5; previous revision: 1.4
done
Checking in src/org/netbeans/modules/javacore/parser/FeatureInfo.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/parser/FeatureInfo.java,v
 <--  FeatureInfo.java
new revision: 1.6; previous revision: 1.5
done
Checking in src/org/netbeans/modules/javacore/parser/ParameterInfo.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/parser/ParameterInfo.java,v
 <--  ParameterInfo.java
new revision: 1.4; previous revision: 1.3
done
Checking in src/org/netbeans/modules/javacore/parser/ResourceInfo.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/parser/ResourceInfo.java,v
 <--  ResourceInfo.java
new revision: 1.6; previous revision: 1.5
done


*** This issue has been marked as a duplicate of 43258 ***
Comment 4 Quality Engineering 2007-09-20 09:58:19 UTC
Reorganization of java component