Tag Info

New answers tagged

4

I found the solution in another topic here How to stop the Kernel from running wild? SetAttributes[timecon, HoldAll] timecon[new_] := TimeConstrained[new, 5] $Pre = timecon;


4

To upgrade my comment to an answer, and perhaps give some more background information: This bug has been fixed as of version 10.0.2. The crash happened in the libcurl library, which is being used in a separate thread via the HTTPClient package by the paclet manager at kernel startup to check for updates. It had to do with thread safety in certain ...


10

You should consider using the sandbox functionality. You can create a subkernel and put it in sandbox mode this way: link = LinkLaunch[First[$CommandLine]<> " -wstp -noicon"]; LinkWrite[link, Unevaluated@EvaluatePacket[Developer`StartProtectedMode[]]]; You can then interact with this subkernel using the standard LinkWrite and LinkRead functions. If ...


10

I have been solving exactly the same problem about 2 years ago (http://community.wolfram.com/groups/-/m/t/125587?p_p_auth=aZGMz5bs). Students are uploading piece of Mathematica (Wolfram Language) code which is run by a testing script (in Mathematica) and the results are compared with a reference solution. To prevent the students to run potentially dangerous ...


5

This might come close to your need; Dynamic[Refresh[MemoryInUse[], UpdateInterval -> 1]] This will update every second the amount of memory used by the kernel.



Top 50 recent answers are included