One process is using far more memory than I would expect. Before blaming a leak, I want to know what kind of memory it is.
sudo pmap -x 1234
Each row is one region of the address space with its size in kilobytes, the resident part (RSS), the modified part (Dirty), the permissions and a name. The last line gives totals.
Sort by resident size to find the big ones:
sudo pmap -x 1234 | sort -k3 -n -r | head -n 15
Look at the name column. Rows marked [ anon ] are memory the program asked for at runtime, such as its heap. A library name means code and its data. A file path means a mapped file, which the kernel can drop and read again when memory gets tight.
For a suspected leak, save two reports some hours apart and compare them:
sudo pmap -x 1234 > before.txt
# later
sudo pmap -x 1234 > after.txt
diff before.txt after.txt
Growth in the anonymous rows is the part worth reporting to whoever maintains the program.
A large Kbytes number alone means little, since programs reserve address space they never touch. Read the RSS column. Runtimes like Java or Node manage their own heap inside those anonymous blocks, so you need their own tools to see what is in there.
Further reading: pmap man page