Re: inserting huge file into bytea cause out of memory

Поиск
Список
Период
Сортировка
От liuyuanyuan
Тема Re: inserting huge file into bytea cause out of memory
Дата
Msg-id 201308071001306946097@highgo.com.cn
обсуждение исходный текст
Ответ на inserting huge file into bytea cause out of memory  (liuyuanyuan <liuyuanyuan@highgo.com.cn>)
Список pgsql-general

Hi, Tomas Vondra!
Thanks for all of your help!
 
My test PC is Win7 (64-bit), and equipped with 8GB of memory.
In this java project, I configured VM option as:  
     -D java.security.policy=applet.policy -Xms1280m -Xmx1536m.
 
Any thing you want to know, just write to me!
Best Regard!
 
Liu Yuanyuan
Aug 7, 2013
 
Date: 2013-08-07 00:49
Subject: Re: [GENERAL] inserting huge file into bytea cause out of memory


On Tue, Aug 6, 2013 at 7:04 AM, Tomas Vondra <tv@fuzzy.cz> wrote:
Hi,

On 6 Srpen 2013, 9:12, liuyuanyuan wrote:
> Error detail:
> org.postgresql.util.PSQLException: Error: out of memory
>   Details:Failed on request of size 268443660.

Seems like an issue with the OS, not with PostgreSQL, to me.

What OS and HW are you using? How much memory you have and do you have
some user limits in place? For example Linux uses ulimit and some kernel
parameters to limit how much memory can be allocated by a process.

 

В списке pgsql-general по дате отправления:

Предыдущее
От: Sergey Konoplev
Дата:
Сообщение: Re: Hierarchical numeric data type
Следующее
От: liuyuanyuan
Дата:
Сообщение: Re: inserting huge file into bytea cause out of memory