memory not released in OS/2 Object Rexx

  • Follow


I am using OS/2 Warp 4 Fixpak 10 which includes both Classic Rexx and
Object Rexx.

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
    . . .
  DisplayControlCharacters:  procedure
    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.

- Peter

0
Reply pskye (1) 10/23/2003 7:14:25 PM


0 Replies
29 Views

(page loaded in 0.047 seconds)

Similiar Articles:













7/28/2012 7:09:57 PM


Reply: