>>> vm=co.lookupByName('test1')
>>> vm.info()
[1, 524288L, 524288L, 1, 20400000000L]
>>> vm.setMemoryFlags(509952,1)  # Live memory
0
>>> vm.info()
[1, 524288L, 524288L, 1, 21430000000L]

>>> vm.setMemoryFlags(509952,0) --- ## current memory
0
>>> vm.info()
[1, 524288L, 524288L, 1, 21430000000L]
>>> vm.XMLDesc()

Not updating .. but api call not throwing any error..
What is the correct procedure for updating