Sang Shin wrote:
> 
> By the way, please take a look at the FAQ on this and see if it helps.
> 
> http://wiki.netbeans.org/FaqSlowNetBeans
> 
> -Sang

Another suggestion.

Hello,

when you do not have plenty of RAM, the most important parameter is (in my 
opinion) the maximum heap size allowed for NetBeans. If you set it too low, 
NetBeans have to garbage-collect frequently, which slows the IDE. If you set it 
too high compared to the total amount of RAM available in your system, you 
leave 
too small amount of memory for other applications (such that the system starts 
to swap) and for the disk cache (which makes all disk I/O operations much 
slower).

You have 1 GB of RAM - that is not much for running Tomcat and NetBeans and 
developing J2EE applications. The easiest and the most reliable answer is: Buy 
more RAM. Otherwise, you should carefully tune your JVM settings and save every 
piece of RAM. I think that 600 MB limit is too high - try to make it lower, 
e.g. 
400 MB, by running NetBeans with switch -J-Xmx400M.

Reference: http://performance.netbeans.org/howto/jvmswitches/index.html

Similarly, you could tweak also Tomcat's settings such that it consumes less 
memory.

I guess you use Linux (I deduce that from your e-mail footer). You can save a 
lot of memory if you use some lightweight desktop environment, e.g. Xfce 
instead 
of Gnome/KDE. You can save even more memory with some tiny Linux distribution 
targeted on older computers, such as Knoppix or DamnSmallLinux (DSL).

> 
> Sang Shin wrote:
>> I will ask NetBeans engineers on this.
>>
>> -Sang Shin
>>
>> kamruddin.nur wrote:
>>> Hi,
>>> I'm running Netbeans 6.1 with jdk1.6, J2EE5, tomcat 6 on my 2GHz
>>> celeron processor with 1GB RAM.
>>>
>>> My problem:
>>> Netbeans start up way too slow,
>>> once started works stable but sometimes new window freezez for a while
>>> and runs again. It doesn't crush but stays unresponsive for a while.
>>>
>>> My netbeans heap size is 85MB but it sucks up around 600MB of my OS
>>> RAM, leaving around 100 MB RAM for other applications.
>>>
>>> What can I do to make it start, run faster and responsive like
>>> eclipse.
>>>
>>> Your help is much appreciated.
>>>
>>> Regards,
>>> K M Nur
>>> http://k-linuxtechs.blogspot.com
>>>
>>>
>>
> 
> 


-- 
---------------------------------------------------------------
   **** JavaFX course starts from Jan. 10th, 2008 ***
            http://www.javapassion.com/javafx

            Sang Shin, sang.s...@sun.com
     http://www.javapassion.com/SangShinSchedule.html
          (Life is worth living... with Passion!)
---------------------------------------------------------------

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Java 
EE (J2EE) Programming with Passion!" group.
To post to this group, send email to 
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to