.BG
.FN allocated
.TL
Memory Allocated in S Frames
.CS
allocated()
.RT
vector showing the total amount of storage allocated
in each frame.
The `names' attribute gives the name of the function
called in each frame.
.EX
# default allocations when called at top level, corresponding
# to the nesting of frames in .Program
.ne 3
allocated()
   Frame 1 switch assign eval
     20450   4090   4090 4090

function() {
	at.start <- allocated()
	# ... do some work ...
	now <- allocated()
	# changes in allocations
	now - at.start
}
.KW programming
.WR
