MemoryConstraint

MemoryConstraint

is an option for TestReport and VerificationTest that specifies how much memory (in bytes) the test is allowed to use.

Examples

Basic Examples  (1)

Run a test until a memory limit is exceeded:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
Introduced in 2014
(10.0)