[computer-go] Allocating lots of memory in C++?

Peter Drake drake at lclark.edu
Tue Aug 15 10:48:31 PDT 2006


Incidentally, this is stack allocation, not malloc or new.

Peter Drake
Assistant Professor of Computer Science
Lewis & Clark College
http://www.lclark.edu/~drake/




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/
>
>
>
>
> _______________________________________________
> 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/a0bde88d/attachment.htm


More information about the computer-go mailing list