Difference between revisions of "Cacheman.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Created page with "{{DISPLAYTITLE:cacheman.m.m}} Cache management heuristics. Do not call directly. ==Syntax== cacheman(spin_system) ==Description== Looks after the scratch folder and pr...")
 
(removed link to deleted function page summary.m (removed per IK instruction 2026-08-30))
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
−
{{DISPLAYTITLE:cacheman.m.m}}
+
{{DISPLAYTITLE:cacheman.m}} __NOTOC__
−
Cache management heuristics. Do not call directly.
+
Cache management heuristics used automatically by [[create.m]] whenever ''Spinach'' runs; the function inspects the /scratch folder in the Spinach directory and removes files older than the threshold specified in spin_system.tols.cache_mem, whose default is 7 days.
  
 
==Syntax==
 
==Syntax==
  
 
     cacheman(spin_system)
 
     cacheman(spin_system)
−
 
−
==Description==
 
−
Looks after the scratch folder and prevents it from filling up the disk. The function inspects the /scratch folder in Spinach directory and deletes any files that are older than the threshold (the default is 7 days) specified in the spin_system.tols.cache_mem field.
 
  
 
==See also==
 
==See also==
−
[[Appendix_F:_expert-level_options#Propagator caching]]
 
  
 +
[[create.m]], [[banner.m]], [[compile_mex.m]], [[dipolar.m]], [[existentials.m]], [[exorcise.m]], [[forum.m]], [[hebrew.m]], [[iseye.m]], [[patrol.m]], [[rearm.m]], [[report.m]], [[sniff.m]], [[symmetry.m]], [[tolerances.m]], [[wiki.m]], [[wipe_cache.m]], [[Kernel_utilities]], [[Appendix_F:_expert-level_options]]
  
 
''Version 2.1, authors: [[Ilya Kuprov]]''
 
''Version 2.1, authors: [[Ilya Kuprov]]''

Latest revision as of 09:12, 30 August 2026

Cache management heuristics used automatically by create.m whenever Spinach runs; the function inspects the /scratch folder in the Spinach directory and removes files older than the threshold specified in spin_system.tols.cache_mem, whose default is 7 days.

Syntax

    cacheman(spin_system)

See also

create.m, banner.m, compile_mex.m, dipolar.m, existentials.m, exorcise.m, forum.m, hebrew.m, iseye.m, patrol.m, rearm.m, report.m, sniff.m, symmetry.m, tolerances.m, wiki.m, wipe_cache.m, Kernel_utilities, Appendix_F:_expert-level_options

Version 2.1, authors: Ilya Kuprov