This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
The heap dump is usually placed in the current working directory, which for JBoss AS is the jboss_home/bin directory.
By the way, if you are getting OOMEs on permgen, just increase the permgen size. There is really nothing you can do to tune that size - you simply have to make it large enough to hold all of the classes. (Unless you wrote you own classloader...)