OKlibrary  0.2.1.6
MemoryManagement.hpp File Reference

Plans on improved memory managenemt. More...

Go to the source code of this file.


Detailed Description

Plans on improved memory managenemt.

Todo:
Improve default_memory_ecl
  • Compare "What memory-bounds?" in Buildsystem/MasterScript/SpecialProcessing/plans/Maxima_Init.hpp.
  • It seems that set_lisp_stack_ecl(ls) does not work as expected:
    show_memory_ecl();
    
    frame_stack_ecl: 2304 
    binding_stack_ecl: 8448 
    c_stack_ecl: 557056 
    heap_size_ecl: 1073741824 
    lisp_stack_ecl: 561408 
    
      561408
    
    default_memory_ecl();
      262144
    
    show_memory_ecl();
    
    frame_stack_ecl: 16640 
    binding_stack_ecl: 131072 
    c_stack_ecl: 2129920 
    heap_size_ecl: 1073741824 
    lisp_stack_ecl: 33849600 
    
    33849600
       
    So apparently by itself Maxima increased the lisp-spack by a large amount.
  • We should check this again with Ecl 11.1.1.1 and Maxima 5.23.2.

Definition in file MemoryManagement.hpp.