Forum Stats

  • 3,727,803 Users
  • 2,245,470 Discussions
  • 7,853,045 Comments

Discussions

IDE complains about low memory parsing a large project

I created a project from existing sources for the Linux kernel and while performing the background parse (which is slow) the IDE flagged a low memory error.  The machine has 64GB of RAM!  The memory use display in the IDE shows 1400/1822MB.

Comments

  • Valeriy Soldatov-Oracle
    Valeriy Soldatov-Oracle Member Posts: 26
    edited December 2015

    You can press View|IDE Log menu item and find

    =================================================================

    Diagnostic information

    Input arguments:

      -Djdk.home=/home/sova/jdk1.8.0_51

      -Dnetbeans.running.environment=gnome

      -Dnetbeans.dirs=/home/sova/solarisstudiodev/lib/solstudio/solstudio:/home/sova/solarisstudiodev/lib/solstudio/cnd:/home/sova/solarisstudiodev/lib/solstudio/cndext:/home/sova/solarisstudiodev/lib/solstudio/dlight:/home/sova/solarisstudiodev/lib/solstudio/harness:/home/sova/solarisstudiodev/lib/solstudio/ide:/home/sova/solarisstudiodev/lib/solstudio/nb:/home/sova/solarisstudiodev/lib/solstudio/analytics.suite:/home/sova/solarisstudiodev/lib/solstudio/common.suite:/home/sova/solarisstudiodev/lib/solstudio/dlight.suite:/home/sova/solarisstudiodev/lib/solstudio/tuxedo:

      -Dnetbeans.home=/home/sova/solarisstudiodev/lib/netbeans/platform

      -XX:PermSize=64m

      -XX:MaxPermSize=400m

      -Xms64m

      -Xmx2048m

      -Dnetbeans.openfile.197063=true

      -Dspro.home=/home/sova/solarisstudiodev

      -Dspro.bin=/home/sova/solarisstudiodev/bin

      -Dspro.lib=/home/sova/solarisstudiodev/lib

      -Dspro.check_update=/home/sova/solarisstudiodev/lib/compilers/condev/bin/check_update

      -Dspro.ide.name=sside

      -Dplugin.manager.check.updates=false

      -Dplugin.manager.check.interval=NEVER

      -Dorg.openide.text.big.file.size=10

      -Dversioning.forbiddenFolders=/;/home;/home/sova;/bin;/dev;/export;/import;/lib;/net;/platform;/root;/system;/var;/boot;/devices;/java;/media;/proc;/rpool;/share;/tmp;/ws;/cdrom;/etc;/kernel;/mnt;/opt;/sbin;/shared;/usr;/lib64;/lib32;/sys;/lost+found

      -XX:+HeapDumpOnOutOfMemoryError

      -XX:HeapDumpPath=/home/sova/.solstudio/ide-Studio_12.5_Beta-Linux-x86_64/var/log/heapdump.hprof

    Compiler: HotSpot 64-Bit Tiered Compilers

    Heap memory usage: initial 64.0MB maximum 1820.5MB

    Non heap memory usage: initial 2.4MB maximum -1b

    Garbage collector: PS Scavenge (Collections=8 Total time spent=0s)

    Garbage collector: PS MarkSweep (Collections=2 Total time spent=0s)

    Classes: loaded=7146 total loaded=7146 unloaded 0

    =================================================================

    If you want use more then 2G, then IDE should be launched via ./solstudio -J-Xmx4G or ./solstudio -J-Xmx8G

This discussion has been closed.