Sandesh,Aravind | adding max memory to avoid out of memory exception