[computer-go] Allocating lots of memory in C++?
Chris Fant
chrisfant at gmail.com
Tue Aug 15 10:51:43 PDT 2006
I don't think you can do that on the stack. Can't you use new or malloc
instead?
On 8/15/06, Peter Drake <drake at lclark.edu> wrote:
>
> Incidentally, this is stack allocation, not malloc or new.
>
> Peter Drake
> Assistant Professor of Computer Science
> Lewis & Clark College
> http://www.lclark.edu/~drake/ <http://www.lclark.edu/%7Edrake/>
>
>
>
>
> On Aug 15, 2006, at 10:47 AM, Peter Drake wrote:
>
> I need to statically allocate an enormous block of memory (hundreds of
> megabytes) for Orego to store the search tree. When I allocate 1000 nodes,
> the program works fine. When I try to allocate 10000 (around 15MB), I get
> SIGSEGV. How do I crank up the allowable memory?
> Peter Drake
> Assistant Professor of Computer Science
> Lewis & Clark College
> http://www.lclark.edu/~drake/ <http://www.lclark.edu/%7Edrake/>
>
>
>
>
> _______________________________________________
> computer-go mailing list
> computer-go at computer-go.org
> http://www.computer-go.org/mailman/listinfo/computer-go/
>
>
> _______________________________________________
> computer-go mailing list
> computer-go at computer-go.org
> http://www.computer-go.org/mailman/listinfo/computer-go/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://computer-go.org/pipermail/computer-go/attachments/20060815/184fb821/attachment.htm
More information about the computer-go
mailing list