How long can memory leaks persist in RPGLE programs?

I enter into the production of some code RPGLE, which uses %allocand deallocto allocate memory. Programmers should be able to ensure there are no memory leaks, but I'm worried about what happens if they do not.

My question is: if programmers go bad and there are memory leaks, then when will this memory be fixed? Is this when the program leaves memory or when the work ends?

+3
source share
4 answers

From the ILE RPG Programmer's Reference Guide:

, . LR , .

RPG- , , . , , . , .

+8

, RPG C/++. RPG 8 , % alloc() BIF.

, . , RCLACTGRP, , .

+2

, . , ( as400). iSeries (: as400, as400).

( , , ,), . ( ), , .

+1

I am not familiar with these built-in functions, but usually everything is cleared when the task ends (or the user logs out if it is interactive). If you cannot find the answer, I can point you to another community, as your answer may be known.

0
source

Source: https://habr.com/ru/post/1718994/


All Articles