This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 250770

Summary: Unexpected Exception during Clean and Build
Product: java Reporter: ShakirAli
Component: ProjectAssignee: Tomas Zezula <tzezula>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P1    
Version: 8.0.2   
Hardware: All   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Attachments: this is the error of unexpected error.
netbeans config file.

Description ShakirAli 2015-02-27 15:21:32 UTC
Created attachment 152282 [details]
this is the error of unexpected error.

Hello,
My project is running perfectly but when i try to Clean and Build the project. The message.log file is attached.  
Please help me out. 
Regards
Comment 1 Jiri Prox 2015-02-27 15:54:54 UTC
The cause is OutOfMemoryException, please try increace the heap space as proposed in issue 250700, currenty your IDE is taking 407m at maximum, see the netbeans.conf for more info.

I'm marking this as duplicate of 250700, since the cause is the same

*** This bug has been marked as a duplicate of bug 250700 ***
Comment 2 ShakirAli 2015-02-27 18:48:22 UTC
Created attachment 152290 [details]
netbeans config file.

Thanks a lot of your guidance.
But i have already increased the memory size in netbeans.conf which is attached. Please have a look and help me out. My project is pending due to this error. 
Thanks in advance.
Comment 3 Tomas Zezula 2015-02-27 19:14:59 UTC
We are solving the problem in the issue #250700.
Currently we try to solve it by putting these properties into nbproject/project.propertie:


javac.fork=true
javac.compilerargs=-J-Xmx1G

before adding them please check that they are not already in the project.properties file with some other values.
Comment 4 Tomas Zezula 2015-02-28 17:48:37 UTC
Seems that:

javac.fork=true
javac.compilerargs=-J-Xmx1G

solves the problem. So please add it into the project.properties