I have a server process implemented in haskell that acts as a simple in-memory db. Client processes can connect then add and retrieve data. The service uses more memory than I
Not everything is included in the profile by default, for example threads and stacks. Try with +RTS -xT.
+RTS -xT