Visual Studio 2005 错误 C1083(“空间不足”)是否意味着我的 RAM 不足?

发布于 2024-11-28 03:10:49 字数 412 浏览 1 评论 0原文

我收到此 Visual Studio 错误。虽然我可以弄清楚问题的要点,但我并不完全理解,因为我对构建过程了解不多。这里真正的问题是什么?有哪些潜在的解决方案?

fatal error C1083: Cannot open compiler intermediate file: 
'C:\libpath\libname.lib': Not enough space
LINK : fatal error LNK1257: code generation failed

Error executing link.exe (tool returned code: 1257)

我得到“空间不足”,但我不太明白这意味着什么。需要打造什么样的空间?这是说 RAM 耗尽了吗?如何解决这个问题?

注意:这个尝试构建的解决方案是巨大的

I've received this Visual Studio error. Though I can figure out the jist of the problem, I don't totally understand because I don't know much about the build process. What is the real problem here and what are some potential solutions?

fatal error C1083: Cannot open compiler intermediate file: 
'C:\libpath\libname.lib': Not enough space
LINK : fatal error LNK1257: code generation failed

Error executing link.exe (tool returned code: 1257)

I get "not enough space", but I don't really understand what that means. What kind of space does it need to build? Is this saying it ran out of RAM? How could this potentially be solved?

Note: the solution this is trying to build is huge

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

涫野音 2024-12-05 03:10:49

更新 9/28/2019 由于 MS Connect 已停用,之前的链接现已失效。

我能够通过谷歌挖掘出这个并粘贴到这里供后代使用:

这个内存不足问题已在 VS 2010 中修复。我尝试了提供的
在32位Win7(x86)机器上进行链接重现,链接成功完成
,虚拟内存使用峰值约为 1.6GB。请尝试 VS 2010。
如果您需要旧版本 VS 的此问题的修补程序,
请联系 Microsoft PSS。


这似乎是一个错误。请参阅:http://connect.microsoft.com/VisualStudio/feedback/details/581207/visual-studio-2005-sp1-reproducible-linker-error-lkn1257-caused-by-c1083

不幸的是,解决方案是不是很令人愉快(除非你可以升级到 VS 2010)。

另一种方法是切换到可以在 VS 2005 进程之外运行的 MSBuild 或 Nant(您可以映射这些工具的快捷方式,以便可以在 VS 2005 中触发构建)。

Update 9/28/2019 Since MS Connect has been retired, the previous link is now dead.

I was able to dig up this via google and pasting here for posterity:

This out-of-memory issue has been fixed in VS 2010. I tried the provided
link repro on a 32-bit Win7 (x86) machine, and the linking finished successfully
, with virtual memory usage peaked at about 1.6GB. Please try VS 2010.
If you need a hotfix of this issue for an old-versioned VS,
please contact Microsoft PSS.


This seems to be a bug. See this: http://connect.microsoft.com/VisualStudio/feedback/details/581207/visual-studio-2005-sp1-reproducible-linker-error-lkn1257-caused-by-c1083

Unfortunately, the solution isn't that pleasing (unless you can upgrade to VS 2010).

An alternative would be to switch to MSBuild or Nant that you can run outside of VS 2005 process (you can map a shortcut to these tools so that you can trigger the build within VS 2005).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文