default heap size attribute
Closed this issue · 3 comments
iainctduncan commented
Add an attribute for default heap size to allow users to run with gc entirely disabled if they want. Have tested this, and works fine, first gc run on restart of gc is slow, but if between songs, that doesn't matter. However, we want the heap not to resize itself half way through.
; set heapsize
(set! (s7 'heap-size) {heapsize} )
; watch heap activity
(set! (s7 'gc-stats) 1)
iainctduncan commented
need to recompile s7 to allow starting with a smaller heap size
iainctduncan commented
starting with reducing heap in s7 to 6400, but default heap size to 64000
iainctduncan commented
@heap now sets heap size in KB, min is 8, default is 64 (down from previous 128)