KernelBaseMemoryLimit


memory limit for continuous usage

DetailsDetails

  • KernelBaseMemoryLimit is a configuration setting that sets the limit in bytes for the base amount of memory that a Mathematica kernel can use. The base amount of memory is measured as the memory usage at the start or end of a computation, and is not influenced by temporary usages of memory inside of a calculation. When the memory limit is exceeded the kernel is restarted. To limit temporary usages you should use KernelPeakMemoryLimit.

ExamplesExamplesopen allclose all

Basic Examples (1)Basic Examples (1)

A sample setting is shown below. This sets the limit to 40000000 bytes.

<KernelBaseMemoryLimit>
40000000
</KernelBaseMemoryLimit>
New to Mathematica? Find your learning path »
Have a question? Ask support »