Boost logo

Boost :

From: Dan Nuffer (dnuffer_at_[hidden])
Date: 2001-03-13 11:05:02


hankel_o_fung_at_[hidden] wrote:
> Perhaps. However, although VC++'s is unable to allocate a big
> (...2MB?!) chunk of memory:
>
> int main() {double array[512][512];} // fails to allocate 2MB
>

This fails because you don't have enough stack space. I think the
default for VC++ is 1 MB (don't quote me on that; it's been a while
since I used VC++) There is an option somewhere in VC++ that allows you
to increase the amount of stack your program will get.

--Dan


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