Re: reset memory size
From: CephusŪ (yesSir_at_gmail.com)
Date: 10/28/04
- Next message: Bill Thompson: "Re: reset memory size"
- Previous message: mar: "Creating MDI MFC application using CFormView class."
- In reply to: Tim Ward: "Re: reset memory size"
- Next in thread: Bill Thompson: "Re: reset memory size"
- Reply: Bill Thompson: "Re: reset memory size"
- Reply: Tim Slattery: "Re: reset memory size"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 28 Oct 2004 10:20:58 -0500
Tim Ward wrote:
> "CephusŪ" <yesSir@gmail.com> wrote in message
> news:2uccc7F28hhrfU1@uni-berlin.de...
>
>>is there a way to increase the size of memory that Visual C++ uses for
>>programs? I have a program whose data structures probably need a good
>>size of memory to run, and when I declare the objects to the size I need
>>(say a 2-d array of size [50000][200]), I get a stack overflow. But
>>when I delcare them smaller (say 2-d array of size [100][200]) I don't
>>get the stack overflow...can anyone help?
>
>
> Allocate on the heap rather than the stack?
>
> --
> Tim Ward
> Brett Ward Limited - www.brettward.co.uk
>
>
can you eloborate on how to do that?
thanks
- Next message: Bill Thompson: "Re: reset memory size"
- Previous message: mar: "Creating MDI MFC application using CFormView class."
- In reply to: Tim Ward: "Re: reset memory size"
- Next in thread: Bill Thompson: "Re: reset memory size"
- Reply: Bill Thompson: "Re: reset memory size"
- Reply: Tim Slattery: "Re: reset memory size"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|