@Override
    public int compareTo(final FieldSize o) {
      return path.compareTo(o.path);
    }
Utility method useful for producing a heap dump when calculating the memory size of a new
object. Note that the file is not overwritten, so you need to remove it to create a new heap
dump.

@param filePath where to save the heap dump
@param live true to only include live objects
ethereum/eth/src/test/java/org/hyperledger/besu/ethereum/eth/transactions/PendingTransactionEstimatedMemorySizeTest.java