This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/58144] Receive "virtual memory exhausted: Cannot allocate memory" while compiling


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58144

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Amit Chitnis from comment #0)
> 2. create a big file (say 900M) named "new" in a location which is a part of
> your include path.

This is your problem, <new> is a standard header so you must not replace it.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]