Re: OutOfMemoryError: Java heap space

2018-01-08 Thread Oliver Rettig
Hi Thomas, thanks for revision, of course you are right:-) Oliver > Oliver, > Why would the starting heap size matter (and according to his log, it's > already 512m)? I think the option he should modify is the max heap size, > -Xmx. His log says it's currently 1024m - maybe he should set it to >

Re: OutOfMemoryError: Java heap space

2018-01-08 Thread Thomas Wolf
Oliver, Why would the starting heap size matter (and according to his log, it's already 512m)? I think the option he should modify is the max heap size, -Xmx. His log says it's currently 1024m - maybe he should set it to "-J-Xmx2048m" in his netbeans.conf file. tom On Mon, Jan 8, 2018 at 11:36

Re: Conditionnal opening of a TopComponent

2018-01-08 Thread Geertjan Wielenga
One thing I would do differently is use the layer.xml file rather than doing it like this: CentralLookup.getDefault().lookup(Configuration.class); I.e., if you use FileUtile.getConfigFile, you'll be able to get a folder in the virtual file system: http://bits.netbeans.org/dev/javadoc/org-openide

Re: OutOfMemoryError: Java heap space

2018-01-08 Thread Oliver Rettig
Hi, this can be happen, if you have installed too many modules, which needs more memory than you have configures in the netbeans.conf file. Maye there is a module with a memory leak ... Try to give netbeans more memory: edit the config file in etc/netbeans.conf default: -J-Xms32m to -j-xm

Conditionnal opening of a TopComponent

2018-01-08 Thread GRYSPEERDT Bastien [CLEMESSY]
Hi, I'm new on netbeans RCP. I created my custom TopComponents with some annotations as follow : @ConvertAsProperties( dtd = "-//project.editor.hmi//EditorShape//EN", autostore = false ) @TopComponent.Description( p

OutOfMemoryError: Java heap space

2018-01-08 Thread Gabriele Brosulo
Hi all, I'm running Netbeans 8.2 on a Debian jessie box. Everytime I launch Netbeans i got the following error: "OutOfMemoryError: Java heap space". Everything seems working, but in one PHP project CTRL+Click, autocomplete and other useful things stopped working. I googled a lot, but I can't fin

Re: Running local build under JDK 9?

2018-01-08 Thread Jan Lahoda
(Forwarding e-mail I've accidentally didn't send to the mailing list.) Jan On Mon, Jan 8, 2018 at 8:05 AM, Jan Lahoda wrote: > On Mon, Jan 8, 2018 at 6:33 AM, cowwoc wrote: > >> Following up on https://issues.apache.org/jira/browse/NETBEANS-238 is >> there a way to get "ant tryme" to use JDK 9