結果 : python function to check memory usage