Reparsing heap dump file due to out of date index file
kgibm 0600027VAP Visits (828)
The Memory Analyzer Tool (MAT) creates index files after parsing a dump the first time so that reloading a dump is much faster. These index files are saved to the same directory as the dump file. In fact, you can load a dump on a beefier machine and then copy over the index files to your slower machine and get the benefits of loading a dump faster.
One issue I recently hit was that every time I would reload a dump, I would get the message "Reparsing heap dump file due to out of date index file," and the dump would be completely reloaded. Looking at the code, MAT decides to do this if the last modified time of the index file ($DUMPFILE.index) is less than the last modified time of the dump file. This kept happening to me because I got a dump from England and when I extracted the zip file, there was no time zone conversion, so the last modified time was hours into the "future." Every time I loaded the dump, my index file would still not be newer than the dump file. To get around this, I manually updated the last modified time to something before the last modified time of the index file: