Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $Pre = Function[expr,
- MemoryConstrained[expr, Round[.45 $SystemMemory],
- Print[Style["[WarningSign]", 28, Red],
- Style["Memory limit exceeded and Computation aborted!", 15,
- Red]]], {HoldAll}]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement