This can be done by using the Geneos' compute engine functionality. To be able to do this you will need to add additional columns on your processes sampler on which we'll populate the values with. This is done under the advanced tab of the sampler.
To populate the values, we created a rule for each custom column which then computes for the values of residentSetSize and virtualMemory and formats them to have 2 decimal places and an "Mb" at the end.
You may want to read about the different rule functions available in Geneos, found here
We have attached a sample XML for your reference which you can use on your setup.