Hi Aaron, As usual, that really depends. However, if you're at V5R2 or above, CRTJVAPGM is no longer recommended for jobs that run any length of time. IBM has something similar to ( or I've seen indications that it's the real thing ) HotSpot, which can recompile on the fly if it sees an opportunity for more efficient code. Memory will only help if there's a lot of garbage collection going on. So, it may be the way the code is doing things and you could be out of luck if the third party jars are causing the problem. As to "sectioning off" memory, not sure what you mean, although you can certainly give the JVM larger amounts of memory at start up. Joe Sam Joe Sam Shirah - http://www.conceptgo.com conceptGO - Consulting/Development/Outsourcing Java Filter Forum: http://www.ibm.com/developerworks/java/ Just the JDBC FAQs: http://www.jguru.com/faq/JDBC Going International? http://www.jguru.com/faq/I18N Que Java400? http://www.jguru.com/faq/Java400 ----- Original Message ----- From: "albartell" <albartell@xxxxxxxxx> To: "'Java Programming on and around the iSeries / AS400'" <java400-l@xxxxxxxxxxxx> Sent: Monday, October 16, 2006 11:12 AM Subject: Optimizing Native Java
Hi All, I am just completing a project where I wrote a Java proxy of sorts and
were a bunch of third party jar files involved in the mix. To make a long story short we are not satisfied with the performance we are getting out
the Java processes on the iSeries (note the Java is running in it's own
listening to a data queue - only one JVM startup). We have run the CRTJVAPGM against all .class and .jar files involved and are wondering are there any other mechanisms to look at concerning getting more speed on the Java end? Obviously one solution would be to throw more memory at it, but is there a way to section off the memory so this Java process gets sole use of it (similar to how you can do the same for Websphere Application Server)? Any other idea's? Aaron Bartell New Tool! - RPG Chart Engine - visit www.mowyourlawn.com <http://www.mowyourlawn.com/> for more info.
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.