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


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

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>
Message-ID <3hHZp.564427$SG4.432435@newsfe03.iad> (permalink)
Organization Public Usenet Newsgroup Access
Date 2011-08-01 21:11 -0300

Show all headers | View raw


On 11-07-31 06:22 PM, markspace wrote:
[ SNIP ]
> 
> 5. The project will open quickly, but my system took a couple of hours
> to get past "scanning project."  Be patient.
[ SNIP ]

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.

I found that on my oldest dev box - a 3.0 GHz Linux PC with 2 gigs of
RAM - that an initial attempt with a NetBeans-computed Xmx setting
failed miserably; it wanted to go with about 380MB which is way
inadequate. NetBeans in this scenario starts failing to compile source,
and if you don't pick up on that in your NetBeans messages.log file your
scanning will have failed very soon but the IDE will keep on failing for
hours with you no more the merrier.

Yes...I was no more the merrier. Until after many hours I got suspicious
and checked messages.log. :-)

Hardcode your netbeans.conf and make the Xmx setting as high as you can
afford. I've already been able to tell that this makes a big difference.
NetBeans simply will not compute a useful Xmx if left to its own devices.

You will then very possibly run into a "too many open files" problem on
Linux. See
http://www.liferay.com/web/richard.sezov/blog/-/blogs/liferay-java-linux-and-too-many-files
for explanation and solution.

I will continue tomorrow evening and report back.

AHS

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next 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