Mail Archives: djgpp/2000/10/24/15:00:19
> From: Rudolf Polzer <rpolzer AT my-deja DOT com>
> Newsgroups: comp.os.msdos.djgpp
> Date: Tue, 24 Oct 2000 09:41:22 GMT
>
> I often get ICE's when compiling a 1000-line cpp file using many C++
> headers like <map>, <vector>, <string> etc., especially when
> optimizing. I found out that the error rate depends on the amount of
> free DPMI memory (after setting DPMI mem to 64M in Windoze, it even
> crashed at one of the includes, while with 128M, everything mostly
> works). Also, since I compile from RHIDE, just restarting the compiler
> by pressing F9 sometimes make it work; if that does not help, closing
> the IDE with its DOS window and reopening helps; once I even needed to
> restart Windoze.
This sounds awfully like a hardware problem; see section 6.6 of the
FAQ for more details.
> Is there a solution (except buying more RAM)?
I don't think the amount of RAM is the problem here, but it's hard to
tell without seeing numbers. Try using the System Monitor tool
(START->Programs->Accessories->System Tools->System Monitor) during
compilation, and look at the amount of memory it reports as free
immediately after cc1plus.exe finishes; then post here the numbers.
It would also help if you post here the complete message printed when
the compiler crashes or reports the ICE.
- Raw text -