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 231796 - Any source based project breaks IDE
Summary: Any source based project breaks IDE
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.4
Hardware: PC All
: P1 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-25 19:35 UTC by soldatov
Modified: 2013-06-25 19:48 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description soldatov 2013-06-25 19:35:55 UTC
Scenario:
- Create source based project
- Check messages.log
===> NetBeans scans full directory and fails with OutOfMemoryError

    [junit] INFO [org.netbeans.modules.cnd.makeproject]: Ignore recursive link /lib in folder 0/lib
    [junit] INFO [org.netbeans.modules.cnd.makeproject]: Ignore recursive link /usr/ucblib in folder 0/usr/ucblib
    [junit] INFO [org.netbeans.modules.cnd.makeproject]: Ignore recursive link /usr/lib in folder 0/usr/lib
    [junit] INFO [org.netbeans.modules.cnd.makeproject]: Ignore recursive link /lib/crypto in folder 0/lib/crypto
    [junit] INFO [org.netbeans.modules.cnd.makeproject]: Ignore recursive link /lib/secure in folder 0/lib/secure
    [junit] INFO [org.netbeans.modules.cnd.makeproject]: Ignore recursive link /var/ld in folder 0/var/ld
........
    [junit] SEVERE [org.openide.util.RequestProcessor]
    [junit] java.lang.OutOfMemoryError: Java heap space
    [junit] INFO [org.netbeans.modules.uihandler.Installer]: XX:HeapDumpPath parametter not specified
    [junit] WARNING [org.openide.filesystems.FileUtil]: FileUtil.normalizeFile(/proc/25021/cwd/ade) took 1,113 ms. Result is /proc/25021/cwd/ade
    [junit] WARNING [org.openide.filesystems.FileUtil]: FileUtil.normalizeFile(/proc/25021/cwd/home) took 711 ms. Result is /proc/25021/cwd/home
    [junit] WARNING [org.openide.filesystems.FileUtil]: FileUtil.normalizeFile(/proc/25021/cwd/reconfigure) took 1,383 ms. Result is /proc/25021/cwd/reconfigure
    [junit] WARNING [org.openide.filesystems.FileUtil]: FileUtil.normalizeFile(/proc/25021/cwd/man-index) took 1,930 ms. Result is /proc/25021/cwd/man-index
    [junit] SEVERE [global]
    [junit] java.lang.OutOfMemoryError: Java heap space
    [junit] WARNING [org.openide.filesystems.FileUtil]: FileUtil.normalizeFile(/proc/25021/cwd/mnt) took 8,450 ms. Result is /proc/25021/cwd/mnt
    [junit] INFO [org.netbeans.modules.uihandler.Installer]: XX:HeapDumpPath parametter not specified
    [junit] WARNING [org.openide.filesystems.FileUtil]: FileUtil.normalizeFile(/proc/25021/cwd/mnt) took 714 ms. Result is /proc/25021/cwd/mnt
    [junit] SEVERE [global]
    [junit] java.lang.OutOfMemoryError: Java heap space
    [junit] INFO [org.netbeans.modules.uihandler.Installer]: XX:HeapDumpPath parametter not specified
    [junit] SEVERE [org.openide.util.RequestProcessor]
    [junit] java.lang.OutOfMemoryError: Java heap space
    [junit] INFO [org.netbeans.modules.uihandler.Installer]: XX:HeapDumpPath parametter not specified
    [junit]
Comment 1 Alexander Simon 2013-06-25 19:48:56 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/916b28821e23