bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WS remains full after large aborted computations?


From: Blake McBride
Subject: Re: WS remains full after large aborted computations?
Date: Tue, 23 Feb 2021 02:19:28 -0600

Interestingly, if I do:

+/⍳1000000000

From the OS, I can see the memory usage go up and up.  However, when it is done, the OS seems to be getting all its memory back.  That's nice!

--blake


On Tue, Feb 23, 2021 at 1:52 AM Blake McBride <blake1024@gmail.com> wrote:
Using the latest GNU APL on a 64-bit Linux box, I don't see what you're seeing.  I get:

      +/⍳10000000000
WS FULL+
      +/⍳10000000000
        ^
      ⍳4
1 2 3 4

--blake


On Tue, Feb 23, 2021 at 12:08 AM Russtopia <rmagee@gmail.com> wrote:
Hi, I saw this behaviour tonight:

      +/⍳1000000000
WS FULL+
      +/⍳1000000000
      ^ ^
     ⍳4
WS FULL+
      +/⍳1000000000
      ^ ^
      4
WS FULL+
      +/⍳1000000000
      ^ ^

.. seems the only way to recover is call )CLEAR but that erases the entire active workspace. Is there a way to just clean out the incomplete operation without losing )FNS and )VARS, and restore basic evaluation ?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]