Navigation

Operators and Keywords

Function List:

C++ API

: val = octave_core_file_limit ()
: old_val = octave_core_file_limit (new_val)
: octave_core_file_limit (new_val, "local")

Query or set the internal variable that specifies the maximum amount of memory (in kilobytes) of the top-level workspace that Octave will attempt to save when writing data to the crash dump file (the name of the file is specified by octave_core_file_name).

If octave_core_file_options flags specify a binary format, then octave_core_file_limit will be approximately the maximum size of the file. If a text file format is used, then the file could be much larger than the limit. The default value is -1 (unlimited)

When called from inside a function with the "local" option, the variable is changed locally for the function and any subroutines it calls. The original variable value is restored when exiting the function.

See also: crash_dumps_octave_core, octave_core_file_name, octave_core_file_options.

Package: octave