The memory used also depends on the number of server processes created for the user connections (user process) to the database.

HTH.