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.
Created attachment 155962 [details] Afterrebootexception Link: http://services.netbeans.org/synergy/client/app/#/case/3815/suite/1913 Created test as it was on testcase. While building Netbeans goes out of memory - "java.long.OutOfMemoryError"
Please, provide more information: - IDE log - heap dump - attachment in readable format
Created attachment 155976 [details] Message log Excluded from my antivirus this pty file what gives on error on log...
This is hole test case where this error came - have to try to include also memory dump, why it wasn't included here was because of filesize.... too big Verifiy custom mode (configure script) Test Case Report issue ↗ Steps: Download litesql's sources from http://wiki.netbeans.org/wiki/images/b/b5/TS_67_CNDlitesql-src-0.3.15.tar.gz Unpack this file New Project > C/C++ > C/C++ Project From Existing Code Add path to litesql's sources into 'Specify the folder that contains existing sources' text field Select Custom mode. Press Next button Select 'Using the makefile generated by the 'configure' script' mode. Press Next button Press Next button 3 times. Press Finish button Result: Build successful, "Configuring project for code assistance was successful" balloon appears and project hasn't unresolved #include (Call context menu on project. 'Code Assistance > Failed #include/#error Directives...' menu item should be disabled.).
Created attachment 155977 [details] More logs - uigesture
Created attachment 155978 [details] metrics
Heapdump is 1,02 GB so i can't include it to here....
Please, attach zipped nbproject folder from your project It looks very strange.
Created attachment 155981 [details] Project This is project where this error came
Hi, Your project has two source roots. Root C:/Tools/cygwin/usr/include should not be in projects roots. I cannot believe that IDE added C:/Tools/cygwin/usr/include source root at project creation time. The root C:/Tools/cygwin/usr/include contains more then 13K files and all marked as "include in parse". Result is IDE need at least 1.5G heap. The second thing is: it seems you did not build project while creating project. Alexander
OK... now I got it.. because 1. test case went OK... have to look project properties again....
One problem there is still. In configuration sourcepath is MAKEFILEe... <logicalFolder name="ExternalFiles" displayName="Important Files" projectFiles="false" kind="IMPORTANT_FILES_FOLDER"> <itemPath>Makefile</itemPath> <itemPath>configure</itemPath> <itemPath>nbproject/private/launcher.properties</itemPath> </logicalFolder> When there is already file Makefile, this leads to error and build newer finish, if you don't add folder MAKEFILE.... as you can see from log: C:/Tools/cmake-3.3.0/bin/cmake.exe -f Makefile CMake Error: The source directory "D:/Download/litesql-src-0.3.15/Makefile" is a file, not a directory. Specify --help for usage, or press the help button on the CMake GUI.
(In reply to jaska_tl from comment #11) > One problem there is still. In configuration sourcepath is MAKEFILEe... > <logicalFolder name="ExternalFiles" > displayName="Important Files" > projectFiles="false" > kind="IMPORTANT_FILES_FOLDER"> > <itemPath>Makefile</itemPath> > <itemPath>configure</itemPath> > <itemPath>nbproject/private/launcher.properties</itemPath> > </logicalFolder> > > When there is already file Makefile, this leads to error and build newer > finish, if you don't add folder MAKEFILE.... as you can see from log: > C:/Tools/cmake-3.3.0/bin/cmake.exe -f Makefile > CMake Error: The source directory "D:/Download/litesql-src-0.3.15/Makefile" > is a file, not a directory. > Specify --help for usage, or press the help button on the CMake GUI. You have wrong tool collection or you mixed up make and cmake. make is a program which interpret makefile and produce binary(ies). cmake is a program which compile CMakeLists.txt and produce makefile.