Not enough storage is available to process this command in VisualStudio 2008

前端 未结 10 921
时光取名叫无心
时光取名叫无心 2020-12-13 01:56

When I try to compile an assembly in VS 2008, I got (occasionally, usually after 2-3 hours of work with the project) the following error

Metadata file \'[nam         


        
10条回答
  •  庸人自扰
    2020-12-13 02:52

    The error is misleading. It really should say "A large enough contiguous space in virtual memory could not be found to perform the operation". Over time allocations and deallocations of virtual memory space leads to it becoming fragmented. This can lead to situations where a large allocation cannot be filled despite there being a plenty total space available.

    I think this what your "segmentation" is refering to. Without knowing all the details of everything else that needs to load and other activity which occupies the 2-3 hour period its difficult to say whether this really is the cause. However I would not put it into the category of unlikely, in fact it is the most likely cause.

提交回复
热议问题