Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
Mathematica > Evaluation Control >

MemoryConstrained

Updated In 6 Graphic
MemoryConstrained[expr, b]
evaluates expr, stopping if more than b bytes of memory are requested.
MemoryConstrained[expr, b, failexpr]
returns failexpr if the memory constraint is not met.
  • MemoryConstrained generates an interrupt to stop the evaluation of expr if the amount of additional memory requested during the evaluation of expr exceeds b bytes.
New in 1 | Last modified in 6
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team