It is according to your hardware you have, and the db you have.
2008/4/3 bitaoxiao <bitaoxiao@xxxxxxxxx>:
What can be set as max of postgreSQL shared_buffers and work_mem2008-04-03
bitaoxiao