aplatypus commented on issue #4065:
URL: https://github.com/apache/netbeans/issues/4065#issuecomment-1128429545
Me again, fresh stuff - Just got OOM killed again:
* Netbeans via flatpak on command line: `[1]+ Exit 137` (which is probably
out of memory.
* At the time I was doing a gradle compile (not even a build)
* From console output stderr: `/app/netbeans/platform/lib/nbexec: line
434: 225 Killed`
* then it dumps the entire command line and options:
[nb-command-line.txt](https://github.com/apache/netbeans/files/8705342/nb-command-line.txt)
* It looks like a lot of memory to me: **code**
```
oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/user.slice/user-1000.slice/session-c2.scope,task=code,pid=63792,uid=1000
Out of memory: Killed process 63792 (code) total-vm:17266204kB,
anon-rss:29172kB, file-rss:0kB, shmem-rss:992kB, UID:1000 pgtables:812kB
oom_score_adj:200
oom_reaper: reaped process 63792 (code), now anon-rss:0kB, file-rss:0kB,
shmem-rss:988kB
```
* 17,266.204 mb ... looks like all memory
* and this looks like the JVM(??): **java**
```
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-91050.scope,task=java,pid=91287,uid=1000
Out of memory: Killed process 91287 (java) total-vm:13342636kB,
anon-rss:2239304kB, file-rss:0kB, shmem-rss:184kB, UID:1000 pgtables:5992kB
oom_score_adj:0
oom_reaper: reaped process 91287 (java), now anon-rss:0kB, file-rss:0kB,
shmem-rss:184kBsystemd[1]: session-c2.scope: A process of this unit has been
killed by the OOM killer.
rtkit-daemon[1394]: The canary thread is apparently starving. Taking action.
systemd[1]: [email protected]: A process of this unit has been killed by the
OOM killer.
rtkit-daemon[1394]: Demoting known real-time threads.
systemd[2903]: app-flatpak-org.apache.netbeans-91050.scope: A process of
this unit has been killed by the OOM killer.
```
* How does a compile get lost like this?
--
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