Quantcast
Channel: Sysinternals Forums
Viewing all articles
Browse latest Browse all 10386

Miscellaneous Utilities : VMMap - trace without launching process?

$
0
0
Author: keithinhanoi
Subject: VMMap - trace without launching process?
Posted: 23 January 2014 at 5:08am

Hi,

I've been using VMMap to track memory usage in two specific private data address blocks allocated by a game process.

I'd really like to be able to log the usage of those two blocks to see how the game is filling them up over time, in certain situations.

Unfortunately, because the game's main executable is started via a separate launcher executable which injects code, I can't use VMMap's Launch and Trace feature.

Using refresh (F5) in VMMap is also not a viable option because alt-tabbing out of the game executable causes some of it's process threads to stop working. Despite this, since the game's launcher takes a few seconds to get the main game executable up and running in full screen mode, I can get VMMap running in the background, but it just sits there with the set of values from the moment it was started.

So, I need to somehow be able to take refresh "snapshots" at regular intervals (say, every second,) so that I can then look at how the usage of those two address blocks has changed.

Looking through all the documentation and watching the video guides, I don't see that there's any built in way to do this without using the Launch and Trace feature.

A possible couple ideas I have for getting the data I need include:
  • writing a .bat file which recurrently runs VMMap via console every second producing an output file that is then renamed with sequential numerical suffix (so as not to be overwritten on the next run of VMMap, or

  • finding some program that can send a F5 keypress to VMMap every second, if such an app exists.

If there's anyone out there who happens to read this and have a better suggestion for how to do this, it would be greatly appreciated.

Also, I'm very curious why there is no automatic refresh feature built in to VMMap. Since it is possible to spam the F5 key to build up snapshots that can be viewed in VMMap's Timeline viewer window, why not automate that function?

Thanks for reading!


Viewing all articles
Browse latest Browse all 10386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>