As others have said, you can reduce the memory requirements by using SXSSF
and also using SS_freeLocalRef(Row) at least to clear each row from memory
as its completed.
If you're using a 64bit JVM, you can use the following, run before any
other java commands in your program. This has to be run before the JVM is
started in the job, so if you're running this stuff interactively, it may
be too late.

callp(e) QCMDEXC('ADDENVVAR ENVVAR(QIBM_RPG_JAVA_PROPERTIES)
VALUE('
+apos+ '-Xmx8192m;-Xms512m;'+apos+')':1024);
___________________________________
Darren Strong
Dekko


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.