Snappy doesn't clear memory cache

Here is my piece of code:

I believe that to many class instantiation happens within the loop and this generated objects won’t destroy after usage.
What do you think ?