× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On Tue, 2010-03-02 at 09:50 -0600, Dan Kimmel wrote:
One of the long-standing complaints about the RPG Java interface is that
java objects created by RPG are NEVER freed. Even if you set the
variable to *NULL or reuse it with another object, the object is not
eligible for garbage collection. I think it remains until the RPG
program ends, but it may stay until the job ends. For sure it stays
until the JVM instance ends. That known issue may have been addressed in
some version of the RPG compiler or operating system, but I've not seen
it publicised.
ï
PushLocalFrame() and PopLocalFrame() (infocenter > Reference > Language
reference > iSeries programming information > High-level languages > ILE
RPG > Programmer's Guide > Creating and Running an ILE Application > RGP
and Java > Additional RPG Coding for Using Java) are supposed to address
that problem. I just tracked them down in the V6R0 infocenter, but they
have been around for years.


If that's still the case, a large spreadsheet is going to burn up a
lot
of memory.

Yes. It would be tedious to clean up at every opportunity.

Still, it may happen naturally that an application has obvious major
functions that could be bracketed by {Push,Pop}LocalFrame().

Cheers,
Terry.



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.