Re: Out of memory exception

Поиск
Список
Период
Сортировка
Искать
От
Oliver Jowett
Тема
Re: Out of memory exception
Дата
Msg-id
4085B6D5.7080500@opencloud.com
Ответ на
Список
Дерево обсуждения
Out of memory exception Tao Yang <tyang@cloverworxs.com>
Re: Out of memory exception Oliver Jowett <oliver@opencloud.com>
Tao Yang wrote:

> Is there any possibility the postgresql jdbc driver does not handle 
> large object very well, for example, use stream for loading that big file?
> 
> Do you have any clue why we have those problems?

In brief: yes, the driver doesn't handle large binary columns very well. 
You will need 6-7 times the binary data's size in temporary heap space.

For details, take a look at:

  http://archives.postgresql.org/pgsql-jdbc/2004-04/msg00186.php
  http://archives.postgresql.org/pgsql-jdbc/2004-04/msg00128.php

-O
В списке pgsql-jdbc по дате отправления
От: Ron St-Pierre
Дата:
Сообщение: Re: Make not working (on RHE)
От: Dave Cramer
Дата:
FAQ