Hi,

I have sorted out memory check functions and done some refinement. As it covers all the platforms, may I ask for a review on these patches? I would like to merge it by 30th of this month if possible. Thanks so much!

Best Regards,
Summer