In HeapHero enterprise edition web tool we have introduced a new feature called Remote Location. Using this feature now you can pass the http(s) URL location of your heap dump in the request.
Say suppose, you have stored your heap dump files in a remote location like AWS S3 bucket. In those cases, if you want to analyze your heap dumps then you will have to download files to your local machine and then upload heap dump to HeapHero tool. It can be a time consuming task. To make it simple we have introduced a new option in heaphero home page. If heap dumps are present in remote locations, you can specify the http(s) URL or AWS S3 presigned URL in the remote location input box. HeapHero will download the heap dump file from this remote location, do the analysis and display heap report.
Fig: Shows Remote Location tab in HeapHero home page
Click on the “Remote Location” tab and paste http(s) remote location of your heap dump.
Fig: Shows how to add http(s) remote URL
Once you add http(s) URL click on the Analyze button. The tool will download your heap dump from the remote location and display the report.
Our HeapHero web tool supports the following 13 file compress formats: zip, gz, xz, z, bz2, deflate, lz4, lzma, sz, zstd, tgz, tar, tar.gz. Compressing files is the process of making them smaller in terms of the number of bytes of data that they contain. We recommend you to compress and upload heap dump files for fast and efficient processing.
Note: Remote Location feature is only available in the HeapHero Enterprise edition.
Some remote servers expect you to pass proper authentication credentials to download the resource. HeapHero provides you a simple mechanism to pass such authentication credentials.
Fig: Passing authentication credentials
Say you have stored your heap dump file in a JFrog artifactory. Inorder to download any resources from the JFrog artifactory, it expects you to pass the X-JFrog-Art-Api header element with your assigned API Key. You can pass this key by following the simple step given below:
- Enter the JFrog artifactory’s heap dump URL in the “Remote location” input box.
- Click on the +Header button.
- You will see two textboxes to enter the key-value. Now enter X-JFrog-Art-Api as the key and your API Key as the value.
- Click on the Analyze button
When you click on the ‘Analyze’ button, HeapHero tool will pass X-JFrog-Art-Api key value pair to the JFrog artifactory and download the heap dump file.
Note: To add multiple headers, click on the +Header button.