RE: Postgres JDBC Driver : java.lang.OutOfMemoryError

Lists: pgsql-interfaces
From: Peter Mount <petermount(at)maidstone(dot)gov(dot)uk>
To: "'adiddi(at)hss(dot)hns(dot)com'" <adiddi(at)hss(dot)hns(dot)com>, pgsql-interfaces(at)postgresql(dot)org
Subject: RE: Postgres JDBC Driver : java.lang.OutOfMemoryError
Date: 2000-12-08 11:41:42
Message-ID: 1B3D5E532D18D311861A00600865478CF1B63E@exchange1.nt.maidstone.gov.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-interfaces

How big is the ResultSet?

By default the JVM alocates 64Mb of memory. To increase this, you pass the
-Xmx parameter to java, ie:

java -Xmx32m my.app.classfile

where 32m is 32Meg of memory maximum.

From SUN's docs:

-Xmsn
Specify the initial size, in bytes, of the memory allocation pool. This
value must be a multiple of 1024 greater than 1MB. Append the letter k or K
to indicate kilobytes, or m or M to indicate megabytes. The default value is
2MB. Examples:
-Xms6291456
-Xms6144k
-Xms6m

-Xmxn
Specify the maximum size, in bytes, of the memory allocation pool. This
value must a multiple of 1024 greater than 2MB. Append the letter k or K to
indicate kilobytes, or m or M to indicate megabytes. The default value is
64MB. Examples:
-Xmx83886080
-Xmx81920k
-Xmx80m

--
Peter Mount
Enterprise Support Officer, Maidstone Borough Council
Email: petermount(at)maidstone(dot)gov(dot)uk
WWW: http://www.maidstone.gov.uk
All views expressed within this email are not the views of Maidstone Borough
Council

> -----Original Message-----
> From: adiddi(at)hss(dot)hns(dot)com [mailto:adiddi(at)hss(dot)hns(dot)com]
> Sent: Friday, December 08, 2000 10:50 AM
> To: pgsql-interfaces(at)postgresql(dot)org
> Subject: [INTERFACES]Postgres JDBC Driver : java.lang.OutOfMemoryError
>
>
>
>
>
> Hi ,
>
> Will appreciate any help in resolving the following exception:
>
> PostGreSQL : 7.0.2
>
> Exception occurred during event dispatching:
> java.lang.OutOfMemoryError:
> at org.postgresql.PG_Stream.ReceiveString(PG_Stream.java:250)
> at
> org.postgresql.Connection.ReceiveFields(Connection.java:447)
> at org.postgresql.Connection.ExecSQL(Connection.java:419)
> at org.postgresql.jdbc1.Statement.execute(Statement.java:269)
> at
> org.postgresql.jdbc1.Statement.executeQuery(Statement.java:53)
> .....
>
> Thanks
> Anil
>
>


From: Manika Dey <bithi(at)ipr(dot)res(dot)in>
To: Peter Mount <petermount(at)maidstone(dot)gov(dot)uk>
Cc: postgres-inter <pgsql-interfaces(at)postgresql(dot)org>
Subject: postgres access from windowsNT
Date: 2001-07-12 16:31:20
Message-ID: Pine.GSO.4.10.10107121125350.18672-100000@sun1.plasma.ernet.in
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-interfaces


Hi,
i have posgresql6.x on solaris platform.
i have downloaded odbc driver for postgresql7.x
and installed on windowsNT , when i try to connect
to postgres database , it gives error--
unsupported frontend protocol.

how can i solve this problem
looking for your response.

manika

-------------------------------------------------------------------

From:- |
Ms. Manika Dey. |Ph.No:--
Engineer-SC (Comp. Tech.) | IPR -- 02712 - 69276
I.P.R | EXT 336,315
BHAT, GANDHINAGAR | Residence -- 079 - 6873114
Gujrat -- 382 428 | FAX --- 69017
------------------------------------------------------------------



From: Manika Dey <bithi(at)ipr(dot)res(dot)in>
To: Peter Mount <petermount(at)maidstone(dot)gov(dot)uk>
Cc: postgres-inter <pgsql-interfaces(at)postgresql(dot)org>
Subject: postgres access from windowsNT
Date: 2001-07-16 14:54:01
Message-ID: Pine.GSO.4.10.10107160952350.4889-100000@sun1.plasma.ernet.in
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-interfaces


Hi,
I would like know if postgesql can be installed
on windows platform.

looking forward for an early reply.

manika


-------------------------------------------------------------------

From:- |
Ms. Manika Dey. |Ph.No:--
Engineer-SC (Comp. Tech.) | IPR -- 02712 - 69276
I.P.R | EXT 336,315
BHAT, GANDHINAGAR | Residence -- 079 - 6873114
Gujrat -- 382 428 | FAX --- 69017
------------------------------------------------------------------



From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Manika Dey <bithi(at)ipr(dot)res(dot)in>
Cc: Peter Mount <petermount(at)maidstone(dot)gov(dot)uk>, postgres-inter <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: postgres access from windowsNT
Date: 2001-07-17 16:30:51
Message-ID: Pine.LNX.4.30.0107171830280.678-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-interfaces

Manika Dey writes:

> i have posgresql6.x on solaris platform.

What is x?

> i have downloaded odbc driver for postgresql7.x

What is x?

> and installed on windowsNT , when i try to connect
> to postgres database , it gives error--
> unsupported frontend protocol.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter


From: markMLl(dot)pgsql-interfaces(at)telemetry(dot)co(dot)uk
To: pgsql-interfaces(at)PostgreSQL(dot)org
Subject: Re: postgres access from windowsNT
Date: 2001-07-18 13:05:08
Message-ID: 3B558984.AD8D15A2@telemetry.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-interfaces

Manika Dey wrote:

> I would like know if postgesql can be installed
> on windows platform.

The ODBC drivers work. If you want to run the server under NT you'll
need CygWin in practice.

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or
colleagues]


From: Matt Fair <matt(at)netasol(dot)com>
To:
Cc: postgres-inter <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: postgres access from windowsNT
Date: 2001-07-18 15:15:57
Message-ID: 3B55A82D.BCBA8EB9@netasol.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-interfaces

Here are some links that should help:
http://members.tripod.com/~kevlo/postgres/portNT.html
http://people.freebsd.org/~kevlo/postgres/portNT.html
Matt

Manika Dey wrote:

>
>
> Hi,
> I would like know if postgesql can be installed
> on windows platform.
>
> looking forward for an early reply.
>
> manika
>
>
> > -------------------------------------------------------------------
> >
> > From:- |
> > Ms. Manika Dey. |Ph.No:--
> > Engineer-SC (Comp. Tech.) | IPR -- 02712 - 69276
> > I.P.R | EXT 336,315
> > BHAT, GANDHINAGAR | Residence -- 079 - 6873114
> > Gujrat -- 382 428 | FAX --- 69017
> > ------------------------------------------------------------------
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://www.postgresql.org/search.mpl


From: Manika Dey <bithi(at)ipr(dot)res(dot)in>
To: Peter Mount <petermount(at)maidstone(dot)gov(dot)uk>
Cc: postgres-inter <pgsql-interfaces(at)postgresql(dot)org>
Subject: postgres access from windowsNT
Date: 2001-07-18 19:07:09
Message-ID: Pine.GSO.4.10.10107181406270.17168-100000@sun1.plasma.ernet.in
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-interfaces



Hi,
I would like know if postgesql can be installed
on windows platform.

looking forward for an early reply.

manika


> -------------------------------------------------------------------
>
> From:- |
> Ms. Manika Dey. |Ph.No:--
> Engineer-SC (Comp. Tech.) | IPR -- 02712 - 69276
> I.P.R | EXT 336,315
> BHAT, GANDHINAGAR | Residence -- 079 - 6873114
> Gujrat -- 382 428 | FAX --- 69017
> ------------------------------------------------------------------
>
>
>
>
>
>
>
>
>
>