aplatypus opened a new issue, #4065:
URL: https://github.com/apache/netbeans/issues/4065

   ### Apache NetBeans version
   
   Apache NetBeans 13
   
   ### What happened
   
   * My laptop started running slow.
   * I went to the console and looked in the `syslog` file, _viz_.:
   
   ```
   May  3 10:32:35 4TELLT132 kernel: [421366.701123] 
oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/user.slice/user-1000.slice/[email protected]/app.slice/app-flatpak-org.apache.netbeans-393562.scope,task=java,pid=393802,uid=1000
   May  3 10:32:35 4TELLT132 kernel: [421366.701215] Out of memory: Killed 
process 393802 (java) total-vm:13589940kB, anon-rss:1715920kB, file-rss:0kB, 
shmem-rss:148kB, UID:1000 pgtables:5180kB oom_score_adj:0
   May  3 10:32:35 4TELLT132 kernel: [421366.778631] oom_reaper: reaped process 
393802 (java), now anon-rss:0kB, file-rss:0kB, shmem-rss:148kB
   May  3 10:31:03 4TELLT132 rtkit-daemon[1415]: message repeated 15 times: [ 
Supervising 1 threads of 1 processes of 1 users.]
   May  3 10:32:35 4TELLT132 systemd[1]: session-c2.scope: A process of this 
unit has been killed by the OOM killer.
   May  3 10:32:35 4TELLT132 systemd[2145]: 
app-flatpak-org.apache.netbeans-393562.scope: A process of this unit has been 
killed by the OOM killer.
   May  3 10:32:35 4TELLT132 systemd[1]: [email protected]: A process of this 
unit has been killed by the OOM killer.
   ```
   
   * Fortunately I'm running netbeans from the terminal so I have output from 
the failed Netbeans command:
      *  `flatpak run org.apache.netbeans -J-Dawt.useSystemAAFontSettings=on`
      * `--jdkhome /opt/lib/java/jdk/v17.00`
      * `--userdir $HOME/.config/netbeans/v13.00/4ams/v17.00/user-02`
      * `--cachedir $HOME//.cache/netbeans/v13.00/4ams/v17.00/cache-02`
   
   ```
   ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be 
preloaded (cannot open shared object file): ignored.
   ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be 
preloaded (cannot open shared object file): ignored.
   ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be 
preloaded (cannot open shared object file): ignored.
   /app/netbeans/platform/lib/nbexec: line 434:   225 Killed                  
"/opt/lib/java/jdk/v17.00/bin/java" -Djdk.home="/opt/lib/java/jdk/v17.00" 
-classpath 
"/app/netbeans/platform/lib/boot.jar:/app/netbeans/platform/lib/org-openide-modules.jar:/app/netbeans/platform/lib/org-openide-util.jar:/app/netbeans/platform/lib/org-openide-util-lookup.jar:/app/netbeans/platform/lib/org-openide-util-ui.jar"
 -Dnetbeans.default_userdir_root="/home/william/.netbeans" 
-Dnetbeans.running.environment=gnome 
-Dnetbeans.dirs="/app/netbeans/nb:/app/netbeans/ergonomics:/app/netbeans/ide:/app/netbeans/extide:/app/netbeans/java:/app/netbeans/apisupport:/app/netbeans/webcommon:/app/netbeans/websvccommon:/app/netbeans/enterprise:/app/netbeans/mobility:/app/netbeans/profiler:/app/netbeans/python:/app/netbeans/php:/app/netbeans/identity:/app/netbeans/harness:/app/netbeans/cnd:/app/netbeans/cndext:/app/netbeans/cpplite:/app/netbeans/dlight:/app/netbeans/groovy:/app/netbeans/extra:/app/netbeans/javacard:/ap
 p/netbeans/javafx:" -Dnetbeans.home="/app/netbeans/platform" 
'-Dnetbeans.importclass=org.netbeans.upgrade.AutoUpgrade' 
'-Djava.io.tmpdir=/var/tmp' '-XX:+UseStringDeduplication' '-Xss2m' 
'-Dapple.laf.useScreenMenuBar=true' '-Dapple.awt.graphics.UseQuartz=true' 
'-Dsun.java2d.noddraw=true' '-Dsun.java2d.dpiaware=true' 
'-Dsun.zip.disableMemoryMapping=true' '-Dplugin.manager.check.updates=false' 
'-Dnetbeans.extbrowser.manual_chrome_plugin_install=yes' 
'--add-opens=java.base/java.net=ALL-UNNAMED' 
'--add-opens=java.base/java.lang.ref=ALL-UNNAMED' 
'--add-opens=java.base/java.lang=ALL-UNNAMED' 
'--add-opens=java.base/java.security=ALL-UNNAMED' 
'--add-opens=java.base/java.util=ALL-UNNAMED' 
'--add-opens=java.desktop/javax.swing.plaf.basic=ALL-UNNAMED' 
'--add-opens=java.desktop/javax.swing.text=ALL-UNNAMED' 
'--add-opens=java.desktop/javax.swing=ALL-UNNAMED' 
'--add-opens=java.desktop/java.awt=ALL-UNNAMED' 
'--add-opens=java.desktop/java.awt.event=ALL-UNNAMED' 
'--add-opens=java.prefs/java.util.pref
 s=ALL-UNNAMED' '--add-opens=jdk.jshell/jdk.jshell=ALL-UNNAMED' 
'--add-modules=jdk.jshell' '--add-exports=java.desktop/sun.awt=ALL-UNNAMED' 
'--add-exports=java.desktop/java.awt.peer=ALL-UNNAMED' 
'--add-exports=java.desktop/com.sun.beans.editors=ALL-UNNAMED' 
'--add-exports=java.desktop/sun.swing=ALL-UNNAMED' 
'--add-exports=java.desktop/sun.awt.im=ALL-UNNAMED' 
'--add-exports=java.desktop/com.sun.java.swing.plaf.motif=ALL-UNNAMED' 
'--add-exports=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED' 
'--add-exports=java.management/sun.management=ALL-UNNAMED' 
'--add-exports=java.base/sun.reflect.annotation=ALL-UNNAMED' 
'--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED' 
'--add-exports=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED' 
'--add-exports=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED' 
'--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED' 
'--add-exports=jdk.compiler/com.sun.tools.javac.jvm=ALL-UNNAMED' 
'--add-exports=jdk.compiler/com.sun.tools.javac.m
 ain=ALL-UNNAMED' 
'--add-exports=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED' 
'--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED' 
'--add-exports=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED' 
'--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED' 
'--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED' 
'--add-opens=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED' 
'--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED' 
'--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED' 
'--add-opens=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED' 
'--add-opens=jdk.compiler/com.sun.tools.javac.jvm=ALL-UNNAMED' 
'--add-opens=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED' 
'--add-opens=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED' 
'--add-opens=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED' 
'--add-opens=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED' 
'--add-opens=jdk.compiler/com.sun.tools.javac.tree=ALL-UNN
 AMED' '--add-opens=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED' 
'--add-exports=jdk.jdeps/com.sun.tools.classfile=ALL-UNNAMED' 
'--add-exports=jdk.jdeps/com.sun.tools.javap=ALL-UNNAMED' 
'--add-opens=java.desktop/sun.awt.X11=ALL-UNNAMED' 
'--add-opens=java.desktop/javax.swing.plaf.synth=ALL-UNNAMED' 
'--add-opens=java.desktop/com.sun.java.swing.plaf.gtk=ALL-UNNAMED' 
'--add-opens=java.desktop/sun.awt.shell=ALL-UNNAMED' 
'--add-opens=java.desktop/sun.awt.im=ALL-UNNAMED' 
'--add-opens=java.base/java.nio=ALL-UNNAMED' '-XX:+IgnoreUnrecognizedVMOptions' 
'-Dawt.useSystemAAFontSettings=on' -XX:+HeapDumpOnOutOfMemoryError 
-XX:HeapDumpPath="/home/william/.config/netbeans/v13.00/4ams/v17.00/user-02/var/log/heapdump.hprof"
 -Djava.security.manager=allow org.netbeans.Main --cachedir 
"/home/william/.cache/netbeans/v13.00/4ams/v17.00/cache-02" --userdir 
"/home/william/.config/netbeans/v13.00/4ams/v17.00/user-02" "--branding" "nb" 
0<&0
   
   [1]+  Exit 137                flatpak run org.apache.netbeans 
-J-Dawt.useSystemAAFontSettings=on --jdkhome /opt/lib/java/jdk/v17.00 --userdir 
/home/william/.config/netbeans/v13.00/4ams/v17.00/user-02 --cachedir 
/home/william/.cache/netbeans/v13.00/4ams/v17.00/cache-02
   ```
   
   ### How to reproduce
   
   * I do not know.
   * Netbeans was started about 9 am this morning.  I have only done a gradle 
build.
   * When it crashed, I was updating a confluency web page
   
   ### Did this work correctly in an earlier version?
   
   Apache NetBeans 12.6
   
   ### Operating System
   
   Distributor ID:      Ubuntu Description:     Ubuntu 21.10 Release:   21.10 
Codename: impish
   
   ### JDK
   
   17.0.1.fx-zulu openjdk version "17.0.1" 2021-10-19 LTS OpenJDK Runtime 
Environment Zulu17.30+15-CA (build 17.0.1+12-LTS) OpenJDK 64-Bit Server VM 
Zulu17.30+15-CA (build 17.0.1+12-LTS, mixed mode, sharing)
   
   ### Apache NetBeans packaging
   
   Other
   
   ### Anything else
   
   **Netbeans via flatpak**
   
   ```
   $ flatpak list
   Name                 Application ID                Version    Branch    
Installation
     :
   NetBeans           org.apache.netbeans    13            stable      system
   ```
   
   **Java**
   
   ```
   openjdk version "17.0.1" 2021-10-19 LTS
   OpenJDK Runtime Environment Zulu17.30+15-CA (build 17.0.1+12-LTS)
   OpenJDK 64-Bit Server VM Zulu17.30+15-CA (build 17.0.1+12-LTS, mixed mode, 
sharing)
   ```
   
   **Operating system**
   
   ```
   Distributor ID:      Ubuntu
   Description: Ubuntu 21.10
   Release:     21.10
   Codename:    impish
   ```
   
   ### Are you willing to submit a pull request?
   
   Yes
   
   ### Code of Conduct
   
   Yes


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to