You can buy this project and download/modify it how often you want.
Files of the artifact measure-jvm version 2.0.0-alpha05 from the group io.github.john-tuesday.