What Anki version are you using? I believe this was fixed in the latest version (2.1.49).
Related: High Memory Usage over time on 2.1.44