Brendan Duddridge <brendan(at)clickspace(dot)com> writes:
> Next exception:SQL State:XX000 -- error code: 0 -- msg: ERROR:
> invalid memory alloc request size 1684370054
> I'm not sure which memory setting I need to change to correct this.
This looks more like a "corrupt data" problem than an "insufficient
memory" problem --- specifically, I'd say a field's length word got
overwritten with some ASCII text.
regards, tom lane