You are not logged in.
Pages: 1
Every time I try to run anything that uses more RAM, like Android Studio or some games, my system completly freezes and I'm forced to hard reset it, it's the only way to unfreeze.
I'm running arch 64bits, with 4GB of RAM and xfce4 as desktop environment.
Offline
What do the logs say? How is swap configured? Can you kill X or switch to a tty? What hardware do you have?
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
What do the logs say? How is swap configured? Can you kill X or switch to a tty? What hardware do you have?
Hardware:
Dell Vostro 5480
i5 5200U
4GB 1600Mhz
SSD 500GB
NVIDIA 830m
No, I can't kill X or switch to a tty, actualy I can't do anything, it completly freezes.
Just created a partition with 10GB and used mkswap, swapon.
I don't have any log, because of the system freeze, it can't write to any file.
Offline
The only viable fix to OOM issues without compromises is to get more RAM, if that isn't a possibility, live with the slowdown, or adjust your workflow so that only one big memory using utility is active at any given time. 4GB of RAM really isn't enough for a lot of bigger things
Last edited by V1del (2017-10-20 11:52:05)
Online
To figure out what applications are primarily to blame for this behavior see for example this. Also, reading the System Requirements section on https://developer.android.com/studio/index.html, it seems that 4G is a slightly overoptimistic amount of memory to run Android Studio.
Offline
@V1del, the systemd should not hard-lock, though.
Also see https://bbs.archlinux.org/viewtopic.php?id=231083 - could be an actual problem.
@anaboth, does the freeze occur with or without the swap? (your last comment sounds as if you've added swap space "just now" and the freeze happened before)
Offline
I'm having similar problems and it seems related to swapping on an LVM volume
(as seth already posted: https://bbs.archlinux.org/viewtopic.php?id=231083
and also https://bbs.archlinux.org/viewtopic.php … 7#p1758127 )
Last edited by catalin.hritcu (2018-02-18 19:01:20)
Offline
Pages: 1