Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #6768

Re: NetBeans development

From Arved Sandstrom <asandstrom3minus1@eastlink.ca>
Newsgroups comp.lang.java.programmer
Subject Re: NetBeans development
References <j14h2g$57m$1@dont-email.me> <3hHZp.564427$SG4.432435@newsfe03.iad> <j17idn$ii8$1@dont-email.me>
Message-ID <CTZZp.568906$SG4.92900@newsfe03.iad> (permalink)
Organization Public Usenet Newsgroup Access
Date 2011-08-02 18:21 -0300

Show all headers | View raw


On 11-08-01 10:03 PM, markspace wrote:
> On 8/1/2011 5:11 PM, Arved Sandstrom wrote:
>>
>> Further caution: if you've got an older PC then you might have annoying
>> problems. This is a good-sized project with lots of files.
> 
>> Hardcode your netbeans.conf and make the Xmx setting as high as you can
>> afford.
> 
> Good points.  I've started playing with netbeans.conf for the first
> time.  More info here:
> 
> <http://wiki.netbeans.org/FaqNetbeansConf>
> 
> <http://wiki.netbeans.org/FaqScanningAndIndexingIssues>
> 
> I've turned automatic scanning off now.  Even on a decent laptop, it's
> too laggy.  The NetBeans project still must scan when it first starts
> up, which takes about 30 minutes on my system.  Note that you must heed
> the warnings about manually refreshing once you disable the automatic
> scanning.
> 
> Also, I broke down and built the project manually, with Ant, on the
> command line.  It seemed to work without any special options (although I
> had pointed my JDK at Java 7 and the build file warned me that that may
> not work.  I manually reset to Java 6 using the user.build.properties
> file, as the warning message recommended.)
> 
I followed your lead on turning off automatic scanning of sources.
Having said that, with an Xmx of about a gig, and increasing the ulimit
'nofiles' to 5000, I managed to complete the scanning on that old PC in
about 11 minutes. It was the open files limits that made all the difference.

I will also be building manually with Ant on the C.L.

AHS

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Find similar


Thread

NetBeans development markspace <-@.> - 2011-07-31 14:22 -0700
  Re: NetBeans development Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-07-31 23:42 -0300
  Re: NetBeans development Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-08-01 21:11 -0300
    Re: NetBeans development markspace <-@.> - 2011-08-01 18:03 -0700
      Re: NetBeans development Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-08-02 18:21 -0300

csiph-web