work_mem cannot be the cause of it for the simple reason that if the memory needed by your query overflows work_mem, it will spill to disk
regards, fabio pardi
On 20/07/18 14:35, MichaelDBA wrote:
Perhaps your "work_mem" setting is causing the memory problems. Try reducing it to see if that alleviates the problem. |