"Cyril VELTER" <cyril.velter@xxxxxxxxxxx> writes: > The server have 4G of ram. But doing a search in the source code it does not > seem that these values are used during a copy operation. They aren't. The "out of memory" complaint sounds more like it might be due to corrupt data, ie the olde scenario where a variable-width field's length word contains a ridiculously large value. I don't know how that would lead to a winsock error, though. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq