The problem may well be due to the player running with mlocked pages - it does this to ensure that it won't need to access the disk (unless it does it explicitly).

I think the solution may be to add a command line option to prevent the player from locking memory - there are also options as to what we do with the cache, eg allow some to be thrown away if other programs need to be run.

Hugo