views:

6417

answers:

19

hello and good day for everyone

This is my question.

Exists a real way to get Netbeans load faster and working time too?

It is to slow and when you have some time coding is worse it eat all my ram

with no more.... bye bye

+5  A: 
  • Download the latest Netbeans. (6.9.1 as of this post)
  • Remove all the plugins you don't need.
  • Use the latest version of Java (1.6.0_21 as of this post)
Joshua
- latest NetBeans currently is 6.9.1- latest JDK is 1.6.0 build 21
OliBlogger
A: 

Run it on linux instead of windoze

mugafuga
1. NetBeans uses Swing which is a lot slower on Linux than on Windows, and please keep in mind that I'm a devout Linux user myself. But the Swing team has taken the time to actually... believe it or not... address the fact that Swing is drop-dead slow, except they have only focused on Windows so far.2. Your proposition assumes that anyone can just switch OSes whenever they please which is simply, and obviously, not the case. And again, keep in mind that I'm a devout Linux user myself. Responses like that simply don't help.
Helgi Hrafn Gunnarsson
A: 

Get more RAM.

Dan
A: 

Hello and good day for every one

I did all those things you suggest to me...

thanks....

but it dont work

more ram = more slow :-( :,(

With no more... bye bye

yeradis
+1  A: 

more ram = more slow?

That doesn't sound very good...

Ace
+2  A: 

Is it a corporate Windows machine? If so aggressive virus scanners can really slow down modern IDEs. Check your task manager for processes that are using a lot of CPU or disk reads.

devstopfix
Um... disabling virus scanners on a company pc is not really an option to improve performance.
Stroboskop
A: 

hi there,

a few questions that will help us address your issue better :-)

can you tell us how much RAM YOU HAVE ?
what operating system ?
What does TaskManager show for Netbeans ?
How many classes does your project(s) have ?

When you say slow, can you give us in terms of minutes, seconds ?

Thank you,

anjanb
This is not an answer.
atamanroman
+1  A: 

Hello and good day for everyone

Yes like a said more ram = more slow

Yes is a windows machine especifically Windows Server 2008 Datacenter Edition x64 4Gb of RAM 3Ghz Core2Duo processor, etc...

In task manager netbeans only show no more than 20 Mb , java ? more than 600Mb

I use the NOD32 Antivirus for me is the best in machine performance

My project is a j2EE web application more than 500 classes only the project libraries not included(externals)

And when i said slow = near hours :P is a joke but 3, 4 five minutes or more netbeans is freezed

My cpu use normally is at 30 percent with all my tools opened i mean netbeans, mssql manager, notepad, xmlspy, taskmanager, delphi,virtualbox

netbeans eat more Mbs than my vritualized systems :(

and a note in linux is slow as in windows in the same machine Ubuntu 8.04 x64

It is real that netbeans team improve startup speed but when it opened begin to chache ALL

i have used some JVM parameters to set high memory usage and others : "C:\Program Files\NetBeans Dev\bin\netbeans.exe" -J-Xms32m -J-Xmx512m -J-Xverify:none -J-XX:+CMSClassUnloadingEnabled

and it is slow :(

thank you people

well Thats all With no more.... bye bye

yeradis
Your machine is strong and definitely not cpu/ram limited. Modern pcs are mostly I/O limited, so you should check for your hdd parameters (queue). edit: you should edit your question instead of posting an answer.
atamanroman
A: 

Your machine sounds powerful enough. It's much faster than mine and I can run netbeans at a nice speed. The only thing that springs to mind is that you're using a 64-bit OS. Are you using the 64-bit Java JDK ?

Sebastian
A: 

Hello and good day for everyone

Yes i´m using the x64 version of the jdk

I´m not sure what about, maibe y like other people said and my Antivirus is fighting with java :-O

Or maybe the problem is my project that it is to large for netbeans :-S and have to read all files to get state of files like errors warning , svn status and more

can i disable all this ? it is possible to set this scanning only when i open a file ?

With no more.... Bye bye

yeradis
+2  A: 

Also defragment your disk. Netbeans is very aggressive about creating caches of one form or another. Most of them get persisted to disk at some point or another which can affect startup time. Virus scanners (Symantec in particular), Desktop search engines, and any other intrusive I/O product can drastically reduce performance.

I have noticed that Netbeans can be tempermental at times and its performance can vary greatly between two machines with nearly identical specs. My work machine has terrible performance and is unusable at times, but it's lightning fast when I use it on my home machine (with bigger projects in many cases).

James Schek
A: 

Actually I find the Windows version a lot faster than the Linux version and I do not realize why.

It's because NetBeans is written in Java Swing which is ridiculously slow. On Windows however, it does use some sort of quick drawing technique (DirectX or something, I dunno), whereas on Linux it doesn't utilize any such technology. On Linux it usually tries and miserably fails to emulate the local Gtk theme, drawing everything by itself in a half-baked attempt to look remotely close to decent and of course performing as Swing always performs (even with acceleration)... very, very slowly.
Helgi Hrafn Gunnarsson
That Swing is slow is an old joke. Repeating it again and again does not make this statement more true.
mklhmnn
+2  A: 

If its on a corporate machine - make sure that the caches aren't stored on the network

Fortyrunner
+1  A: 

[Can't post comments, because I don't have enough points, so I'm posting as an answer.]

Everyone should note that Sun's Java Virtual Machine for Windows does not use shared memory. This means that the more heap you give to your VM, the more memory it keeps to itself. The advantage of more heap is less garbage-collection, and perhaps faster performance of the Java application you're running, but the downside is that your other applications may have less memory to work with, and your system may feel slower due to this.

James Tikalsky
+4  A: 

http://performance.netbeans.org/

i30817
A: 

A more or less detailed description, why NetBeans if slow so often can be found here: http://bit.ly/dBilaF IMHO it's mainly related to a lot of disk I/O caused by missing files or folders and svncache.

schmunk
A: 

hello every body i had the same problem netbeans so slow but it now much better after deactivating the SVN plug-in i think that may help

good luck,,,,

ismail
A: 

I have the same problem, netbeans consumes 600MB and Im only learning to use it! -not realy working with a lot of files- I think "get more ram" is not the answer. A program that eats 600MB sounds crazy. It's not Photoshop!!!

david
That's no answer to the question.
mklhmnn
+1  A: 

This is not a software solution, but its the most effective one: Instead of wasting time optimizing your Netbeans installation (which takes time), try to get a SSD which boosts every IDEs performance very hard. As soon as you save more than one hour twiddeling around with netbeans (and dont forget all the time you do not spend waiting for context menus anymore) your employer saves money by buying you new gadgets! Try to communicate that: Slow machines -> slow and unhappy developers -> sad boss =)

An alternative could be to load netbeans from a fast usb drive (i/o is still much better, dont forget all the temps).

Note to myself: check date before answering questions, ppl dig out old threads all the time

atamanroman