Added PID tracking to correlate with memory usage