Re: inserting huge file into bytea cause out of memory - Mailing list pgsql-general

From liuyuanyuan
Subject Re: inserting huge file into bytea cause out of memory
Date
Msg-id 201308071001306946097@highgo.com.cn
Whole thread Raw
In response to inserting huge file into bytea cause out of memory  (liuyuanyuan <liuyuanyuan@highgo.com.cn>)
List 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 by date:

Previous
From: Sergey Konoplev
Date:
Subject: Re: Hierarchical numeric data type
Next
From: liuyuanyuan
Date:
Subject: Re: inserting huge file into bytea cause out of memory