Boost logo

Boost Users :

From: Ira Greenstein (iragreenstein_at_[hidden])
Date: 2005-02-08 09:28:15


Ira <iragreenstein <at> austin.rr.com> writes:

>
> All,
>
> I am a newbie who is trying out the serialization library. In that article,
> there is a demo program (demo.cpp) that i am trying to build. Along with
> several warnings ('dynamic_cast' used on polymorphic type...), the compiler is
> generating the following error:
>
> fatal error C1076: compiler limit : internal heap limit reached; use /Zm to
> specify a higher limit
>
> I have tried various values for /Zm (200 is recomended) and either i still
> receive this error, or if increase the value too much, the compiler generates
> the following error:
>
> fatal error C1204: compiler limit : internal structure overflow
>
> Since this seesaw response doesn't seem correct, i am wondering if there is a
> particular flag or combination thereof that would correct this problem?
>
> Thank you.
>

Thank you to all who responded! To answer some questions:

Arkadiy Vertleyb:

In the recesses of mind i did know that one point :).
My thoughts at the time of the original post were that if i could not get "demo"
program to build, using this library in a large system (using VC6) might be an
excercise in futility.

Joaquin M Lopez Munoz:

I did increase the value of /Zm. At around /Zm400, the compiler generated the
following message:

     fatal error C1204: compiler limit : internal structure overflow

For grins i took it up to /Zm1000, with no change (i was not expecting one).

Robert Ramey:

So, i'm not crazy! One less thing to worry about :).
Unfortunately, VC6 is what the client has on site and VC 7.1 just is not in the
cards right now.
So, it's back to a light weight serialization scheme until they can bring in a
new compiler.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net