I am running into an overflow exception. This is a homework assignment; I am not looking for direct answers as that will not help me learn. This assignment is for my Artificial Intelligence class. We are solving the n-puzzle problem using best-first and A* algorithms. I have a 2D array that represents my game board. there are 8 tiles in
Tag: overflow
Heap Overflow Issue when implementing and using the Printable interface
So I’ve written the class below, and it works, but we are getting some heap overflow problems when using this. The images are limited to 5 mb each. Anyone have an idea on how to solve overflowing the heap when generating the printout? } Answer Without going in the specifics of your code, maybe you really need a bigger heap