I don't think "JVM startup" is the issue, in this case. I've been testing the utilities interactively, using QSH. I think JVM startup only applies to the first invocation. I've been running test repeatedly from one QSH session. If I press F12 to go back to the command line, and try RUNJVA Hello, "Java shell already active in job.", is returned. You evidently must use the F3 key in QSH to terminate the active JVM instance.
We have a couple prospective customers who are asking for a grade book solution for next fall, which would include a requirement for PDF "report cards", that may be e-mailed to parents and students.
To really stress the utility, I tried to generate a PDF with thousand of pages. I finally killed the utility after a couple hours. It was generating thousands of pages per second, but in this case they weren't PDF pages. They were memory fault pages. The system was thrashing under memory faults.
----- Original Message ----
From: Aaron Bartell <aaronbartell@xxxxxxxxx>
To: Web Enabling the AS400 / iSeries <web400@xxxxxxxxxxxx>
Sent: Tue, May 11, 2010 3:23:25 PM
Subject: Re: [WEB400] PDF Performance
Any thoughts about performance?
You have now met my friend named "JVM startup" :-)
Yes, you could probably get that down to less than 30 seconds by only
starting a single JVM in a batch job and communicating with it from RPG
using data queues. Though I shouldn't speculate too much because I haven't
been on a machine with only 1GB of memory in a loooong time. This is the
same approach I use for RPGChartEngine (
- free and open source).
Performance may be a moot point, however. PDF reports are a requirement!
What is your timeline for needing it? Maybe we could trade some Java open
source work for some RPGUI open source work :-)
As an Amazon Associate we earn from qualifying purchases.