Andre Schubert <andre.schubert@geyer.kabeljournal.de> writes:
> 010517.09:39:35.143 [20840] query: select getdatabaseencoding()
> out of dynamic memory in yy_create_buffer()
Hm. Apparently, there is almost no free memory in your system;
perhaps you need more swap space?
regards, tom lane