On 11/21/13 7:50 AM, Matt Olson wrote:
I thought JAVA has a garbage collector making memory leaks a thing of
the past. So that once the variable goes out of scope or if you
explicitly set it to null the garbage collector will release that
memory. Same thing happens in .NET...

That only applies when calling Java from Java, because Java knows when it's cleared all references to an object, rendering it garbage-collectable. When you're returning an object to an ILE program, you have to explicitly tell Java when you've finished with the object.

--
JHHL

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.