grep command is killed
Logs are in /var/log/System.log, you can also access them by running Console.app
Memory consumption of a process can be checked in Activity Monitory.app, at least as long as the process is running