Welcome, Guest. Please Login or Register.
Nov 23rd, 2024, 4:48am

Home Home Help Help Search Search Members Members Login Login Register Register
Arimaa Forum « bot lost on time on move 3. »


   Arimaa Forum
   Arimaa
   General Discussion
(Moderator: supersamu)
   bot lost on time on move 3.
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: bot lost on time on move 3.  (Read 819 times)
speek
Forum Guru
*****



Arimaa player #5441

   


Gender: male
Posts: 75
bot lost on time on move 3.
« on: Aug 18th, 2010, 10:36pm »
Quote Quote Modify Modify

bot_Clueless2006CC just lost to me on time on move 3.  Is there a problem?
IP Logged
omar
Forum Guru
*****



Arimaa player #2

   


Gender: male
Posts: 1003
Re: bot lost on time on move 3.
« Reply #1 on: Aug 19th, 2010, 5:32pm »
Quote Quote Modify Modify

I looked into this and it seems to have crashed due to running out of memory.  
 
Exception in thread "Thread-0" java.lang.OutOfMemoryError: GC overhead limit exceeded
 
I tried playing it and got the same result. I'll have to see what might be causing this. In the meantime I'm going to disable it.
IP Logged
speek
Forum Guru
*****



Arimaa player #5441

   


Gender: male
Posts: 75
Re: bot lost on time on move 3.
« Reply #2 on: Aug 19th, 2010, 7:41pm »
Quote Quote Modify Modify

Thanks.  And for my own info, how much memory do you let the java bots take?
IP Logged
omar
Forum Guru
*****



Arimaa player #2

   


Gender: male
Posts: 1003
Re: bot lost on time on move 3.
« Reply #3 on: Aug 20th, 2010, 2:06am »
Quote Quote Modify Modify

It is set to use a maximum of 500MB and use to work fine on the old server. Not sure why it's not working now.
« Last Edit: Aug 20th, 2010, 2:06am by omar » IP Logged
rbarreira
Forum Guru
*****



Arimaa player #1621

   


Gender: male
Posts: 605
Re: bot lost on time on move 3.
« Reply #4 on: Aug 20th, 2010, 2:29am »
Quote Quote Modify Modify

The 64-bit Java VM probably uses more memory, since pointers are double the size on a 64-bit OS. If clueless uses a lot of references (i.e. pointers) that could make a big difference.
 
The server migration wouldn't affect non-VM bots since those are statically compiled, but for Java the 64-bit OS makes a difference.
« Last Edit: Aug 20th, 2010, 3:11am by rbarreira » IP Logged
omar
Forum Guru
*****



Arimaa player #2

   


Gender: male
Posts: 1003
Re: bot lost on time on move 3.
« Reply #5 on: Aug 20th, 2010, 8:22am »
Quote Quote Modify Modify

Good point. I think that might be it.
 
If I increase the max memory Java can use, it might work then; but it would risk causing the server to hang.
IP Logged
speek
Forum Guru
*****



Arimaa player #5441

   


Gender: male
Posts: 75
Re: bot lost on time on move 3.
« Reply #6 on: Aug 20th, 2010, 8:38am »
Quote Quote Modify Modify

Oof, only 500MB!  Heh, I'll have to cut back on my memory usage Smiley
IP Logged
rbarreira
Forum Guru
*****



Arimaa player #1621

   


Gender: male
Posts: 605
Re: bot lost on time on move 3.
« Reply #7 on: Aug 20th, 2010, 9:04am »
Quote Quote Modify Modify

on Aug 20th, 2010, 8:38am, speek wrote:
Oof, only 500MB!  Heh, I'll have to cut back on my memory usage Smiley

 
I believe you can use as much as you want in the computer championship, limited only by the hardware's specs...
 
Of course, it's nice to have an option to decrease memory usage, if possible. Then omar can set up your bot for public play after the CC.
« Last Edit: Aug 20th, 2010, 9:04am by rbarreira » IP Logged
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

Arimaa Forum » Powered by YaBB 1 Gold - SP 1.3.1!
YaBB © 2000-2003. All Rights Reserved.