I know almost nothing about java.
I think Dieter Bender may have some relevant advice.
He also has an open source project that "hosts" java applications and does some kind of memory management . . .
From: JAVA400-L [mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of Steinmetz, Paul
Sent: Thursday, June 18, 2015 7: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.