Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

minimax tree - out of memory:Java heap space

807589Dec 16 2008 — edited Dec 17 2008
I'm creating the game checkers using a minimax tree and each nodes contain the board with a possible movement of a pawn.. when I run the minimax algorithm for depth of more than 5 I get a "OutOfMemoryError: Java heap space" , can anyone help? any idea where am I going wrong here? any tips will be great
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 14 2009
Added on Dec 16 2008
7 comments
415 views