wp_trash_post is leaking memory

Well, it seems SAVEQUERIES is the culprit.

After disabling SAVEQUERIES memory usage is down.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)