|
[Date Index]
[Thread Index]
[Author Index]
Re: Protection against some Front end problems and crashes
- To: mathgroup at smc.vnet.net
- Subject: [mg13030] Re: Protection against some Front end problems and crashes
- From: immtwg at busk.gbar.dtu.dk (Torben Winther Graversen)
- Date: Tue, 30 Jun 1998 00:26:28 -0400
- Organization: UNI-C
- References: <6n6i1o$uo$1@dragonfly.wolfram.com>
- Sender: owner-wri-mathgroup at wolfram.com
Barthelet, Luc (lucb at ea.com) wrote:
: As mentionned in a few messages recently it is not uncommon to make a
: mistake and then get a huge output to be generated. When that happens,
: one is either stuck for a long time or crashes.
[...]
: reallyBig[x_] := If[ByteCount[x] > 200000, "Too Large", x];
: $Post = reallyBig;
: It will replace any "large" output by the string "Too Large". I cannot
: count how many times this saved me. Hope it helps you too.
[...]
However, a large plot of 10000 points will easily produce an output
greater than 200000, but it will be formatted as "- SurfaceGraphics -",
which is no problem to the frontend. Any suggestions for a way to only
print "Too Large" when the formatted form actually generates a huge
amount of data?
--
Best regards,
Torben Winther Graversen
http://www.student.dtu.dk/~immtwg
Prev by Date:
Barycentric Coordinates
Next by Date:
Re: multivariable functins with variable number of arguments
Previous by thread:
Re: Protection against some Front end problems and crashes
Next by thread:
Acceleration of NDSolve
|