Author |
Topic: bot lost on time on move 3. (Read 819 times) |
|
speek
Forum Guru
Arimaa player #5441
Gender:
Posts: 75
|
|
bot lost on time on move 3.
« on: Aug 18th, 2010, 10:36pm » |
Quote 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:
Posts: 1003
|
|
Re: bot lost on time on move 3.
« Reply #1 on: Aug 19th, 2010, 5:32pm » |
Quote 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:
Posts: 75
|
|
Re: bot lost on time on move 3.
« Reply #2 on: Aug 19th, 2010, 7:41pm » |
Quote 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:
Posts: 1003
|
|
Re: bot lost on time on move 3.
« Reply #3 on: Aug 20th, 2010, 2:06am » |
Quote 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:
Posts: 605
|
|
Re: bot lost on time on move 3.
« Reply #4 on: Aug 20th, 2010, 2:29am » |
Quote 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:
Posts: 1003
|
|
Re: bot lost on time on move 3.
« Reply #5 on: Aug 20th, 2010, 8:22am » |
Quote 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:
Posts: 75
|
|
Re: bot lost on time on move 3.
« Reply #6 on: Aug 20th, 2010, 8:38am » |
Quote Modify
|
Oof, only 500MB! Heh, I'll have to cut back on my memory usage
|
|
IP Logged |
|
|
|
rbarreira
Forum Guru
Arimaa player #1621
Gender:
Posts: 605
|
|
Re: bot lost on time on move 3.
« Reply #7 on: Aug 20th, 2010, 9:04am » |
Quote Modify
|
on Aug 20th, 2010, 8:38am, speek wrote:Oof, only 500MB! Heh, I'll have to cut back on my memory usage |
| 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 |
|
|
|
|