I am using OS/2 Warp 4 Fixpak 10 which includes both Classic Rexx and
I just discovered that if I Ctrl-C out of a running Rexx program the
program's memory is released under Classic Rexx but is *not* released
under Object Rexx. Subsequently closing the window in which the program
was running under Object Rexx does not release the memory.
Does anyone know if this was fixed and, if so, what Fixpak I need to
move up to?
Here's the code that uses up the memory:
/* Read 55 MB file. */
NewString = charin( SourceFile, , SourceFileSize )
call DisplayControlCharacters NewString
. . .
stMemBuf = arg(1)
As far as I can tell neither the NewString nor stMemBuf values are
released when Ctrl-C stops the program, leaving 110 MB of memory
unuseable until the next reboot. Curiously, under Classic Rexx all
memory is released.
||10/23/2003 7:14:25 PM