Out of memory (oom) issues

Ralf Mardorf silver.bullet at zoho.com
Fri Sep 2 07:43:45 UTC 2016


On Fri, 2 Sep 2016 09:33:50 +0200, Ralf Mardorf wrote:
>On Fri, 2 Sep 2016 08:00:25 +0100, Colin Law wrote:
>>If you run the system monitor (or command line equivalent) do you see
>>that the memory is low and/or that a particular process is hogging the
>>memory?  
>
>By command line the following commands are helpful
>
>  top
>
>or
>
>  atop
>
>or
>
>  htop
>
>and just in case it should be related to tmpfs
>
>  df -h | grep tmpfs

PS:

Assuming that tmpfs should be the culprit, it's possible to assign more
RAM to tmpfs by an entry in /etc/fstab.

  tmpfs          /tmp        tmpfs nodev,nosuid,size=3G     0 0

This is just an example, replacing 3G by any other value might be
appropriate. The default without an fstab entry is half of the RAM.

Perhaps taking a look at the frame buffer, by e.g.

  sudo hwinfo --framebuffer

is useful, too, assuming that the graphics doesn't have it's own memory.
The shared video memory could be changed by the BIOS settings.





More information about the ubuntu-users mailing list