Boost logo

Boost :

From: Paul A. Bristow (boost_at_[hidden])
Date: 2002-06-25 17:59:35


"This should also explain the need for the /Zm option. The compiler
needs to ensure it has a contiguous address space for the heap we create
the PCH from.

Jason Shirk, VC++ Compiler Team"

from
> http://aspn.activestate.com/ASPN/Mail/Message/1156165

I turned off pre-compiled headers for my compilations, just in case.
This may explain the different requirements, but not my confusion?
Perhaps it is to do with getting the compiler re-started so it
finds the contiguous space?

(It fails C1060 immediately without appearing to do anything,
whereas on the first try, it takes some seconds before failing).

Paul

Dr Paul A Bristow, hetp Chromatography
Prizet Farmhouse
Kendal, Cumbria
LA8 8AB UK
+44 1539 561830
Mobile +44 7714 33 02 04
mailto:pbristow_at_[hidden]

> -----Original Message-----
> From: boost-bounces_at_[hidden]
> [mailto:boost-bounces_at_[hidden]]On Behalf Of Joerg Walter
> Sent: Tuesday, June 25, 2002 7:50 PM
> To: boost_at_[hidden]
> Subject: Re: [boost] Re: Problems with uBLAS and /Zm Option (VC7)
>
>
>
> ----- Original Message -----
> From: "Martin Schuerch" <mschuerch_at_[hidden]>
> Newsgroups: gmane.comp.lib.boost.devel
> To: <boost_at_[hidden]>
> Sent: Tuesday, June 25, 2002 2:33 PM
> Subject: [boost] Re: Problems with uBLAS and /Zm Option (VC7)
>
>
> >
> > "Paul A. Bristow" <boost_at_[hidden]> wrote in message
> > news:AHEJIHEOOOBMJPAGPLIPAEDIDBAA.boost_at_hetp.u-net.com...
> > > I have now run all the uBLAS tests 1 to 6 in release as well as debug
> > mode.
> > >
> > > I slightly suspect that using pre-compiled headers causes the compiler
> > heap
> > > overflow C1060 with test6. There is certainly something very funny
> about
> > > the setting. I now think that rebuild/clean causes a
> compiler reset so
> > the
> > > heap is cleared.
> > >
> > > Smells like a memory leak in the compiler? Surely not!
> > >
> > > /Zm1000 IS sufficient for my tests. I only have 256Mbyte
> memory (Windows
> > > 2000).
> >
> > The funny thing is, that /Zm1000 doesn't work for me (1GB memory) but
> /Zm500
> > does.
>
> Jason Shirk once described, how /Zm works:
> http://aspn.activestate.com/ASPN/Mail/Message/1156165
>
> I had similar problems during my first MSVC 7.0 (beta 2 ;-( tests. I
> suspected, that these were related to the swapfile setup of the Win2K
> system (the system didn't have 1 GB memory ;-). I never encountered a
> similar problem under Windows 95.
>
> Regards
>
> Joerg
>
>
>
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
>
>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk