Currently all messages for all games are stored in mnesia RAM memory. As the number of games grow this will use more and more memory. The idea is to delete messages from mnesia for games that no-one looks at and reload them from file whenever someone browses an old game. Maybe set a config item MaxNumberOfLoaded games and phase out games that someone looked at a long time ago.