Hannes Erven <hannes(at)erven(dot)at> writes:
> It is still about 5 MB of private memory per "idle" backend process. Is
> there anything I can do to optimize?
That sounds about the right ballpark for a working backend process with
caches loaded up. If that's too much for you, you ought to be using
connection pooling.
regards, tom lane