Empty_cache does not work in 0.4.0

Hi,

The effect of empty_cache is not to prevent small increases in memory. It will just reduce the peak memory usage (at runtime speed cost).

Can you give a small code example to reproduce the steady memory increase please?