|
15-414 Assignments, Memory Script Information You can download a script for checking memory usage here. It should work on Linux systems. You use it by running: It has been installed at /afs/andrew.cmu.edu/usr24/mtschant/15414-f07/memscript on unix.andrew.cmu.edu. One concern is finding out the pid of the JPF process. If you are running no other Java processes, the following command, should run JPF and pass the pid to to memscript: You might be able to use memscript on cygwin as well, but you may have to change the "$23" found in it to something else. Thanks go to Sagar for providing memscript. Another script for seeing the amount of memory used has been donated by Andrei. You can download it here. Run it to see usage instructions. Thanks, Andrei! |