How I can take HeapDump for jBoss 7.1 , I wanted the location.
depends how you started the server and from where.
but usually it will be in JBOSS_HOME or in JBOSS_HOME\bin
it also depends how you do memory dump. if you do it via jmap you can just tell him where to put it.