Vmmem在使用1GB内存时崩溃 [英] Vmmem crashes at 1GB memory usage

查看:146
本文介绍了Vmmem在使用1GB内存时崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在调查这个问题。我正在为我的最新发现打开此文件,因为这可能是一个更常见的问题。

I'm currently investigating an OOM exception when using Angular with Docker described in this question. I'm opening this one for my newest discovery as this might be a more general issue.

当我的Angular应用程序构建在Docker容器中时,任务 Vmmem (可处理Windows所有VM内存使用情况)开始占用我的大量RAM(显然)。但是当它达到900MB到1000MB之间时,它会立即关闭。

When my Angular app gets build in the Docker container, the task Vmmem, which apperently handles all of Windows' VM memory usage, starts taking up a lot of my RAM (obviously). But when it reaches between 900MB and 1000MB, it just shuts down instantly.

在这一点上,我的计算机的RAM容量约为70%,因此我仍然有几个剩余GB,它应该可用于Docker,因为默认情况下没有资源限制。我还使用了Angular中的 Budgets 机制来允许构建过程使用更多的RAM,但是VM似乎仍然会在大约1GB的RAM使用时崩溃。

At this point, my computer is at ~70% RAM capacity, so I still have a couple GB left, which should be availible to Docker, as there are no resource limitaions by default. I also used the Budgets mechanic in Angular to allow the build process to use a lot more RAM then that, yet the VM still seems to crash at around 1GB of RAM usage.

推荐答案

问题已解决。如果您有兴趣,请参阅上面链接的原始问题的答案,因为我显然不允许两次发布相同的答案。

The issue is resolved. See the answer on my original question linked above if you're interested, as I'm apparently not allowed to post the same answer twice.

这篇关于Vmmem在使用1GB内存时崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆