Re: OOM on large SELECT - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: OOM on large SELECT
Date
Msg-id 4AB100D7.60805@opencloud.com
Whole thread Raw
In response to OOM on large SELECT  (Angelo Nicolosi <amenuor@hotmail.com>)
Responses Re: OOM on large SELECT  (Angelo Nicolosi <amenuor@hotmail.com>)
List pgsql-jdbc
Angelo Nicolosi wrote:

> The dmesg command says:
>
> Out of memory: Killed process 22592 (postgres).

If you are getting OOM-kills from the kernel, that usually means you
have system-wide memory exhaustion.

> I wrote some C-Language functions, added on a database [...]

Since the size of a JVM is roughly constant, I would guess that the
problem actually lies in your C code.

Alternatively your system just doesn't have enough virtual memory
configured to do whatever it is you're trying to do. Add more swap.

Either way, it doesn't look like a JDBC driver problem based on the
information you have given.

-O

pgsql-jdbc by date:

Previous
From: Angelo Nicolosi
Date:
Subject: OOM on large SELECT
Next
From: Angelo Nicolosi
Date:
Subject: Re: OOM on large SELECT