By vaibhavc on Jul 08, 2008
Oh today Angad was doing his project on Netbeans and suddenly start asking about GC Algo's. I asked "What happened" and it seems he was tuning the file "netbeans.conf" in netbeans\\etc. I have seen the same file on my computer. I was little surprised!
Maybe I don't know in detail because this all happened some 2 hrs back. But what we observe netbeans is not tuning the parameter or writing the file (netbeans.conf) according to system configuration/properties. Correct me if I am wrong, Netbeans write the same netbeans.conf file if I am working on a duo core processor or if I am working on a P2 machine. If yes, then I definitely want to know why? I guess Java provide enough API to know about no. of processor, RAM, disk, OS information and many more. Why not this file is best written according to machine configuration. Certainly a safe playing value in which we take care of the fact that netbeans or any process will not eat too much of RAM/Processor. This file should be written at the time of installation by reading the machine configuration.
Angad has given one more good suggestion, at the time of installation we can ask about the settings user want(current one or optimal tuning). Should be some reason of not doing this, but love to know why ?(No doubt, the tuning is written in best universal way, but why not specific)
By the way, got the tuning page of Netbeans : http://performance.netbeans.org/howto/jvmswitches/index.html.
Also, saw a plugin which takes input for command line setting(start up): http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=6829