R-program-to-get-the-details-of-the-objects-in-memory R program to get the details of the objects in memory