Profiling Peak DRAM Use in R With Perl - Part 2

In the second part of this we implement the solution that was outlined at the end of Part 1: utilize a Perl application that probes the operating system in real time for the RSS (Resident Set Size), i.e. the DRAM footprint of an application fire the application from within R as a separate process, provide it with the PID (Process ID) of the R session and put it in the background do the long,…