× 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.



I must be missing something - how is a memory leak = allocated memory which
is not freed?

And AG memory may be freed using RCLACTGRP or the relevant CEE API - or use
AG *NEW to have it happen automatically?

Regards

Paul Tuohy
ComCon
www.comconadvisor.com
www.systemideveloper.com


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Steve Richter
Sent: 18 June 2008 17:05
To: RPG programming on the AS400 / iSeries
Subject: Re: Is RPG 'DEAD"

On Wed, Jun 18, 2008 at 11:32 AM, Haas, Matt (CL Tech Sv)
<matt.haas@xxxxxxxxxxx> wrote:
Steve,

I understand you like the MS Kool-Aid a lot but I don't understand the
memory leaks
comment. Are you saying RPG is inferior to other languages in that regard
because you
have to go out of your way to make them happen?

I think activation groups hide what are in fact memory leaks (
allocated memory which is not freed ). But then a lot of RPG code
does not use %alloc and pointers. The managed code feature of C#
makes the .NET framework and collection classes possible. The suite
of collection classes you see in Java and C# are not available in RPG.
that is because of the lack of a garbage collector.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.