>Anyone found a work around? Wouldn't it helpful, setting it in your session? set work_mem='2000MB'; set maintenance_work_mem='2000MB'; do rest of sql after ..... Regards, Amul Sul -- View this message in context: http://postgresql.1045698.n5.nabble.com/Workaround-for-working-mem-max-value-in-windows-tp5800170p5800216.html Sent from the PostgreSQL - performance mailing list archive at Nabble.com. -- Sent via pgsql-performance mailing list (pgsql-performance@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance