Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

PB10: Java.OutofMemory error

2 posts in EJB Client Last posting was on 2005-09-24 00:36:40.0Z
Yuri Posted on 2005-09-23 22:23:12.0Z
From: "Yuri" <ydench@yahoo.com>
Newsgroups: sybase.public.powerbuilder.ejbclient
Subject: PB10: Java.OutofMemory error
Lines: 10
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1506
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506
NNTP-Posting-Host: 12.173.168.199
X-Original-NNTP-Posting-Host: 12.173.168.199
Message-ID: <43348050$1@forums-1-dub>
Date: 23 Sep 2005 15:23:12 -0700
X-Trace: forums-1-dub 1127514192 12.173.168.199 (23 Sep 2005 15:23:12 -0700)
X-Original-Trace: 23 Sep 2005 15:23:12 -0700, 12.173.168.199
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.ejbclient:571
Article PK: 424700

I'm getting java.OutOfMemory error while running java code from
PowerBuilder.
I believe it happens because of heap size is not big enough.
When I run java code from command line, I can specify maximum heap size
:java -Xmx128m "application"
How can I change JVM heap size when I invoke it from PowerBuilder ?
thanks,
Yuri


Jim O'Neil [Sybase] Posted on 2005-09-24 00:36:40.0Z
From: "Jim O'Neil [Sybase]" <joneil_at_sybase_dot_com>
Newsgroups: sybase.public.powerbuilder.ejbclient
Subject: Re: PB10: Java.OutofMemory error
Message-ID: <hp79j151cpbltpfs7pf8lucst2hsd249oh@4ax.com>
References: <43348050$1@forums-1-dub>
X-Newsreader: Forte Agent 2.0/32.652
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vpn-concord-065.sybase.com
X-Original-NNTP-Posting-Host: vpn-concord-065.sybase.com
Date: 23 Sep 2005 17:36:40 -0700
X-Trace: forums-1-dub 1127522200 158.159.8.65 (23 Sep 2005 17:36:40 -0700)
X-Original-Trace: 23 Sep 2005 17:36:40 -0700, vpn-concord-065.sybase.com
Lines: 15
X-Authenticated-User: teamsybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.ejbclient:572
Article PK: 424701

There are configuration options in the registry... check the online
docs at sybooks.sybase.com for PBRTConfig

On 23 Sep 2005 15:23:12 -0700, "Yuri" <ydench@yahoo.com> wrote:

>I'm getting java.OutOfMemory error while running java code from
>PowerBuilder.
>I believe it happens because of heap size is not big enough.
>When I run java code from command line, I can specify maximum heap size
>:java -Xmx128m "application"
>How can I change JVM heap size when I invoke it from PowerBuilder ?
>thanks,
>Yuri
>