Add new API for getting physical memory size