clear all memory 'kill all' not killing all sum's memory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
maxima (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
f(x,k):=sum( ((-1^(n+
f(1,50000),bfloat;
f(1,50001),bfloat;
though the same can be seen with f(x,k):
both attempting "kill(all); reset();" and/or 'kill all' from xmaxima->clear memory->kill all seems to have no effect on the process(exe)'s actual memory use
~10.699g VIRT
~5.639g RES
("File->restart" does in fact start a new process, without this memory use)...but it seems strange that an option to clear memory is provided, but one that doesn't actually clear this use.
Ubuntu: 16.10
xmaxima: 5.37.2-8
maxima: 5.37.2-8
ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: xmaxima 5.37.2-8
ProcVersionSign
Uname: Linux 4.8.0-22-generic x86_64
ApportVersion: 2.20.3-0ubuntu8
Architecture: amd64
CurrentDesktop: GNOME
Date: Thu Oct 20 12:41:53 2016
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-07-09 (833 days ago)
InstallationMedia: Ubuntu-GNOME 14.10 "Utopic Unicorn" - Alpha amd64 (20140708)
SourcePackage: maxima
UpgradeStatus: Upgraded to yakkety on 2016-10-16 (4 days ago)
tags: | added: zesty |
`kill` removes values and properties. `reset` assigns the initial value of a symbol to the symbol. In both cases, these functions aren't specifically designed to free up memory, so I think that one can't expect them to. So the observed behavior is, I think, not a bug.
There is a new function `garbage_collect` which will be in the next version (5.43 at this point) to run the Lisp implementation's garbage collector -- that should free up memory if possible.