battlecode / battlecode-2018

:rocket:
45 stars 22 forks source link

Fix Java OOMs #119

Closed simonlindholm closed 6 years ago

simonlindholm commented 6 years ago

Turns out Java was leaking every single object returned from the API.

examplefuncsplayer-java works with this change; however, I haven't tested any more complicated bot, nor checked whether other places are similarly broken.

kazimuth commented 6 years ago

Hahaha, incredible. Thank you so much. I thought I had fixed this, but you screw up one variable name...