Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Always draw your curves, then plot your reading.


computers / comp.sys.ibm.as400.misc / Re: RPG/JAVA Integration how to define min and max size for started JVM?

SubjectAuthor
* RPG/JAVA Integration how to define min and max size for started JVM?Geert Van Landeghem
`- Re: RPG/JAVA Integration how to define min and max size for started JVM?Geert Van Landeghem

1
RPG/JAVA Integration how to define min and max size for started JVM?

<3b16b1c7-819c-4b30-8688-c3abf550465dn@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=42&group=comp.sys.ibm.as400.misc#42

  copy link   Newsgroups: comp.sys.ibm.as400.misc
X-Received: by 2002:a05:6214:e66:b0:441:7695:8eb7 with SMTP id jz6-20020a0562140e6600b0044176958eb7mr20874912qvb.127.1648533351246;
Mon, 28 Mar 2022 22:55:51 -0700 (PDT)
X-Received: by 2002:a05:622a:256:b0:2e1:a01b:a538 with SMTP id
c22-20020a05622a025600b002e1a01ba538mr26148570qtx.167.1648533351040; Mon, 28
Mar 2022 22:55:51 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.ibm.as400.misc
Date: Mon, 28 Mar 2022 22:55:50 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=81.82.249.20; posting-account=W8EYgwoAAACYm8kJzVnVR20JRKLHkx9A
NNTP-Posting-Host: 81.82.249.20
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <3b16b1c7-819c-4b30-8688-c3abf550465dn@googlegroups.com>
Subject: RPG/JAVA Integration how to define min and max size for started JVM?
From: gvl...@foundation.be (Geert Van Landeghem)
Injection-Date: Tue, 29 Mar 2022 05:55:51 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 7
 by: Geert Van Landeghem - Tue, 29 Mar 2022 05:55 UTC

Hello all,

we are using the RPG-JAVA Integration to use webservices through java code in RPG. One of the messages to process is rather big so we get a OutOfMemoryError...how do we set the min and max size of the heap in the started JVM?

A standalone java program heap size can be tuned using -Xms and -Xmx

kind regards
Geert Van Landeghem

Re: RPG/JAVA Integration how to define min and max size for started JVM?

<b58f9aa5-5d36-4fc1-ad55-b8660c742012n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=43&group=comp.sys.ibm.as400.misc#43

  copy link   Newsgroups: comp.sys.ibm.as400.misc
X-Received: by 2002:a05:620a:40ce:b0:67d:4ebe:f3c2 with SMTP id g14-20020a05620a40ce00b0067d4ebef3c2mr18649560qko.631.1648534810810;
Mon, 28 Mar 2022 23:20:10 -0700 (PDT)
X-Received: by 2002:ac8:5c84:0:b0:2e1:ceaa:d134 with SMTP id
r4-20020ac85c84000000b002e1ceaad134mr25488595qta.247.1648534810561; Mon, 28
Mar 2022 23:20:10 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.ibm.as400.misc
Date: Mon, 28 Mar 2022 23:20:10 -0700 (PDT)
In-Reply-To: <3b16b1c7-819c-4b30-8688-c3abf550465dn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=81.82.249.20; posting-account=W8EYgwoAAACYm8kJzVnVR20JRKLHkx9A
NNTP-Posting-Host: 81.82.249.20
References: <3b16b1c7-819c-4b30-8688-c3abf550465dn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b58f9aa5-5d36-4fc1-ad55-b8660c742012n@googlegroups.com>
Subject: Re: RPG/JAVA Integration how to define min and max size for started JVM?
From: gvl...@foundation.be (Geert Van Landeghem)
Injection-Date: Tue, 29 Mar 2022 06:20:10 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Geert Van Landeghem - Tue, 29 Mar 2022 06:20 UTC

On Tuesday, March 29, 2022 at 7:55:52 AM UTC+2, Geert Van Landeghem wrote:
> Hello all,
>
> we are using the RPG-JAVA Integration to use webservices through java code in RPG. One of the messages to process is rather big so we get a OutOfMemoryError...how do we set the min and max size of the heap in the started JVM?
>
> A standalone java program heap size can be tuned using -Xms and -Xmx
>
> kind regards
> Geert Van Landeghem

Solved by setting IBM_JAVA_OPTIONS environment variable

ADDENVVAR ENVVAR(IBM_JAVA_OPTIONS) VALUE('-Xmx8G') LEVEL(*JOB) REPLACE(*YES)


computers / comp.sys.ibm.as400.misc / Re: RPG/JAVA Integration how to define min and max size for started JVM?

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor