macOS / binaries /

stringdups

/usr/bin/stringdups
Identify duplicate strings or other objects in malloc blocks of a target process

stringdups examines the content of malloc blocks in the specified target process. For all blocks which have the same content, it shows a line with the number of such blocks, their total allocated size, and the average allocated size.

source: man