To check if it is a "swap is so slow that everything look frozen"-problem try to setup ulimits just a bit less than your real RAM.
For example, just before OpenMW execute ulimit -v 4096000 and ulimit -m 4096000. (The number is 4 * 1024 * 1000, a bit less than 4GB).
Or, arguably simpler, temporarily disable swap altogether.
If OpenMW runs out of memory, it will crash before becoming frozen for swapping. Your machine might be unresponsive while the kernel writes the core dump though.
OpenMW freezes computer with video
-
- Posts: 225
- Joined: 08 Dec 2015, 23:45
Re: OpenMW freezes computer with video
Sorry Ezze, this went over my head, I'm not tech-savy, so this confused me.ezze wrote:To check if it is a "swap is so slow that everything look frozen"-problem try to setup ulimits just a bit less than your real RAM.
For example, just before OpenMW execute ulimit -v 4096000 and ulimit -m 4096000. (The number is 4 * 1024 * 1000, a bit less than 4GB).
Or, arguably simpler, temporarily disable swap altogether.
If OpenMW runs out of memory, it will crash before becoming frozen for swapping. Your machine might be unresponsive while the kernel writes the core dump though.
Anyway to fix this issue, I'd really like to use distant terrain.
I activated distant terrain and looked at my RAM usage with HardInfo 0.5.1, it looks like distant terrain is really zapping my memory, I even disabled preloading.
Re: OpenMW freezes computer with video
Distant terrain and preloading share a fair number of similarities in terms of RAM impact.argonvegell wrote:Sorry Ezze, this went over my head, I'm not tech-savy, so this confused me.ezze wrote:To check if it is a "swap is so slow that everything look frozen"-problem try to setup ulimits just a bit less than your real RAM.
For example, just before OpenMW execute ulimit -v 4096000 and ulimit -m 4096000. (The number is 4 * 1024 * 1000, a bit less than 4GB).
Or, arguably simpler, temporarily disable swap altogether.
If OpenMW runs out of memory, it will crash before becoming frozen for swapping. Your machine might be unresponsive while the kernel writes the core dump though.
Anyway to fix this issue, I'd really like to use distant terrain.
I activated distant terrain and looked at my RAM usage with HardInfo 0.5.1, it looks like distant terrain is really zapping my memory, I even disabled preloading.