writeMemProfile

POST {{ENVIRONMENT}}

Writes an allocation profile to the given file. Note that the profiling rate cannot be set through the API, it must be set on the command line using the --memprofilerate flag.

Parameters

STRING - File location.

Request Body

{"jsonrpc"=>"2.0", "method"=>"debug_writeBlockProfile", "params"=>["{{FILE_LOCATION}}"], "id"=>1}