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

Heikki Levanto heikki at lsd.dk
Wed Aug 16 02:48:06 PDT 2006


On Tue, Aug 15, 2006 at 10:47:01AM -0700, 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?

On Linux, you can always check the limits with 

   ulimit -a


-- 
Heikki Levanto   "In Murphy We Turst"     heikki (at) lsd (dot) dk



More information about the computer-go mailing list