We have numerous RPG programs that call Java. We do start the JVM in the RPG
and free objects in the RPG code. If you can answer Marshall's questions
that would help in identifying the problem. It could be in your RPG code or
it might be in the API.
From: JAVA400-L [mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of
Sent: Thursday, June 18, 2015 9:09 AM
Subject: Java batch job performance issue
We are testing our first Java application.
V7R1 JDK 6.0 32 bit.
Sending 1,000,000 single requests in batch to a remote server.
This was a stress test.
Job was constantly taking 50% CPU, very little disk.
When started, job was doing 25 api calls per second, now it is 3 after
740,000 after 18 hours.
The heap size started at 30MB and is now roughly 600MB.
The job did not error, simply slowed down.
We cancelled at this point.
The process is called from an RPGLE pgm, Java is initialized in CLLE pgm.
IBM i Systems Administrator
Pencor Services, Inc.
462 Delaware Ave
Palmerton Pa 18071
This is the Java Programming on and around the IBM i (JAVA400-L) mailing
list To post a message email: JAVA400-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
or email: JAVA400-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/java400-l
As an Amazon Associate we earn from qualifying purchases.