c++ - 来自 make 的 fork_copy 错误

标签 c++ netbeans cygwin

我收到了 Netbeans 的这条消息。我使用 Cygwin,因为上大学,我使用旧版本。在安装使用最新版本的 Cygwin 正确编译的旧版本 Netbeans 之前。我可以用 Dev-Cpp 编译。任何人都知道如何解决这个错误?

1 [main] make 4064 fork_copy: linked dll data/bss pass 0 failed, 0x3AF000..0x3AF040, done 0, windows pid 2660, Win32 error 487
make: vfork: Resource temporarily unavailable

BUILD FAILED (exit value 2, total time: 391ms)

最佳答案

fork/vfork 期间的资源不可用错误通常是内存不足的情况。

首先要检查有多少内存可用。您可以通过 Window 的任务管理器的“性能”选项卡看到这一点。

您可以转到“进程”选项卡查看每个进程使用了​​多少内存,如果显示屏未显示“内存使用情况”,请单击“查看”>“选择列”,然后检查“内存使用情况”。

NetBeans 可能是最大的用户,Thunderbird 和/或 Firefox 将争夺第二名。如果您使用的是 Chrome,请键入 Shift-Escape 以打开其任务管理器。

我看到有些人成功运行了 cygwin 的 rebaseall。

关于c++ - 来自 make 的 fork_copy 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3842424/

相关文章:

python - 在 Cygwin 中使用 Python 播放 .wav 文件

c++ - 在 QWidget 中按需显示系统菜单

c++ - 英特尔 MKL 是否支持 Armadilo、Eigen 或 Biltz++?

netbeans - 如何使用 Netbeans/Github 导出修订版之间修改/添加的文件?

c++ - opencv 与 netbeans C++ 链接器错误

linux - 使非图形化的 debian 上的 bash 看起来整洁,就像在 ssh 上一样

cygwin - alt-b, alt-f 在 xterm 中不起作用

c++ - 取消订阅主题并订阅新的运行时 (C++) (ROS)

c++ - ncurses 不能与 -lncurses 一起使用

php - 网 bean 7.3.1 : is there a way to automatically insert ; at the end of the line for PHP files?