It is currently Wed Jan 17, 2018 5:18 am Advanced search

How much memory?

Code won't compile? Found a bug? Post here!

How much memory?

Postby jmcarthur » Sat Feb 13, 2010 4:46 pm

How much memory are our bots allowed to use? I need to know so I can determine an appropriate upper bound on the depth of my game tree. It is computed over the entire game, so I can't just rely on the timeout period to stop me from taking too much.
jmcarthur
Colonel
 
Posts: 80
Joined: Fri Feb 05, 2010 3:41 pm

Re: How much memory?

Postby Orborde » Sun Feb 14, 2010 10:35 am

I don't know what language you're using, but why not check for malloc returning NULL or the equivalent "out of memory" exception in whatever your platform is?
Orborde
Cadet
 
Posts: 2
Joined: Mon Feb 08, 2010 4:53 pm


Return to Technical Issues

Who is online

Users browsing this forum: No registered users and 2 guests

cron