snake-ai-pytorch icon indicating copy to clipboard operation
snake-ai-pytorch copied to clipboard

Fail to allocate bitmap

Open spenu1 opened this issue 3 years ago • 2 comments

when running the agent everything works as expected, however once the games/iterations start reaching higher numbers (around 100-300 commonly around 200) the program closes itself and i get a "Fail to allocate bitmap" in the visual studio code debugger. is there a solution to fix this or continue the program in the event of this failure? thank you

spenu1 avatar Aug 19 '21 16:08 spenu1

Me too

Amoshades avatar Dec 05 '21 18:12 Amoshades

Yes, the solution is to get more memory, see issue #7 to do this for the GPU, i also recommend instead of using microsoft visual studio, you should get an actual installation of python here.

ethicalhacker7192 avatar Jan 06 '24 17:01 ethicalhacker7192