Reputation: 10595
We are taking heapdumps and have a question:
jmap -dump:file=heapdump.hprof,format=b
format=a
it will be usage message in asciiformat=b
it will be binaryOK great, but what if you don't specify a format at all?
jmap -dump:file=heapdump.hprof
Which one will it pick?
Upvotes: 3
Views: 4110
Reputation: 72636
The default is binary data file (hprof). You can just try running the command without specifying the format and with format=b
and you will find out yourself that they have the same format.
alessio$ file heapdump.hprof
heapdump.hprof: data
Upvotes: 3