This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/58144] Receive "virtual memory exhausted: Cannot allocate memory" while compiling
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 13 Aug 2013 08:35:59 +0000
- Subject: [Bug c++/58144] Receive "virtual memory exhausted: Cannot allocate memory" while compiling
- Auto-submitted: auto-generated
- References: <bug-58144-4 at http dot gcc dot gnu dot org/bugzilla/>
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.