Mail Archives: djgpp/1998/11/17/21:00:30
Mthimkhulu Molekwa wrote:
>
> Hello Djgpp'ers,
>
> I have recently trying out the Introduction to STL programming with Allegro tutorial and have hit a snag.
>
> The code compiles fine for the first 4 chapters. But, when I get to chapter 5 where STL basics are introduced, the code therein does not compile. The error message I get is as follows:
>
> c:/djgpp/lang/cxx/list(34) In file included from c:/djgpp/lang/cxx/list:34, tut1.cc(2)
> c:/djgpp /lang/cxx/stl_list.h(285) Error: virtual memory exhausted
>
> Can someone please give me pointers as to what might be wrong and how I might solve this problem.
Are you using Windows 9x? If so, see FAQ section 15.6; Windows by
default allows only 16MB of memory to DPMI apps, which is often not
enough.
Another possibility is that you have a smallish amount of physical RAM
and your hard drive is very full. In which case, free some space.
If that doesn't help, post the output of `go32-v2', what kind of
system/DPMI server you're using, amount of memory you have, free disk
space, etc. If you're using CWSDPMI and have configured it with
CWSPARAM, also tell about those changes.
--
Nate Eldredge
nate AT cartsys DOT com
- Raw text -