[Bug 1881585] [NEW] Out-of-memory error in optimised gfortran compilation

Peter Rye 1881585 at bugs.launchpad.net
Mon Jun 1 11:34:08 UTC 2020


Public bug reported:

The command

gfortran -c -O3 -w -ffree-form -ffree-line-length-none -fallow-argument-
mismatch module_comm_nesting_dm.f90

(or the same using -O2 or -O1) results in an out-of-memory state.
Relevant lines from dmseg are:

[15895.853601] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/user.slice/user-1000.slice/session-3.scope,task=f951,pid=15763,uid=1000
[15895.853609] Out of memory: Killed process 15763 (f951) total-vm:8612500kB, anon-rss:7214628kB, file-rss:0kB, shmem-rss:0kB, UID:1000 pgtables:16832kB oom_score_adj:0
[15896.041419] oom_reaper: reaped process 15763 (f951), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB

The source code is about 2MB in size, so has been uploaded to:

http://members.iinet.net.au/~peterrye/module_comm_nesting_dm.f90

** Affects: gcc-10 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-10 in Ubuntu.
https://bugs.launchpad.net/bugs/1881585

Title:
  Out-of-memory error in optimised gfortran compilation

Status in gcc-10 package in Ubuntu:
  New

Bug description:
  The command

  gfortran -c -O3 -w -ffree-form -ffree-line-length-none -fallow-
  argument-mismatch module_comm_nesting_dm.f90

  (or the same using -O2 or -O1) results in an out-of-memory state.
  Relevant lines from dmseg are:

  [15895.853601] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/user.slice/user-1000.slice/session-3.scope,task=f951,pid=15763,uid=1000
  [15895.853609] Out of memory: Killed process 15763 (f951) total-vm:8612500kB, anon-rss:7214628kB, file-rss:0kB, shmem-rss:0kB, UID:1000 pgtables:16832kB oom_score_adj:0
  [15896.041419] oom_reaper: reaped process 15763 (f951), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB

  The source code is about 2MB in size, so has been uploaded to:

  http://members.iinet.net.au/~peterrye/module_comm_nesting_dm.f90

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-10/+bug/1881585/+subscriptions



More information about the foundations-bugs mailing list