Sample code of no enough memory handler
Updated comments