How do I get a memory dump of the active RAM being used by IOS process?

Does anybody know how to do this? I'm assuming you would have to use a jail broken Iphone/Ipod to get this info.
Thanks