|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0005952||Spring engine||AI||public||2018-04-04 21:29||2018-04-09 13:00|
|Product Version||104.0 +git|
|Target Version||Fixed in Version|
|Summary||0005952: Java AIs are not killed on Spring.Restart|
|Description||When playing multiple games in a row, Java AIs start colonizing spring's JVM memory. It's possible to reduce the impact by releasing as much memory as possible in the AI once the game is over. It would be best to kill the AI completely though.|
|Steps To Reproduce||Play a game with a java AI. |
Restart the game.
The new game has two AIs in the JVM, the old one simply doesn't receive any call-ins anymore.
|Tags||No tags attached.|
|Checked infolog.txt for lua Errors|
atm this is by design:
existing env is not reused:
existing env is not freed:
Last edited: 2018-04-09 13:00
I remember there being some sort (forgot the details) of issue with sending release events to Java AI's, which was apparently "solved" by making java_skirmishAI_release a no-op.
the Java bridge code also long predates Spring.Reload so envs not being freed wasn't a real problem until that became available and reliable.
|2018-04-04 21:29||DeinFreund||New Issue|
|2018-04-09 11:34||abma||Note Added: 0018997|
|2018-04-09 12:59||Kloot||Note Added: 0018998|
|2018-04-09 13:00||Kloot||Note Edited: 0018998||View Revisions|