Memory Problems and "shdw"
- To: mathgroup at smc.vnet.net
- Subject: [mg37964] Memory Problems and "shdw"
- From: scundal at yahoo.com (Hein H)
- Date: Fri, 22 Nov 2002 04:16:19 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
I have written a large program in the Mathemetica language and I am having memory problems. The MemoryInUse[] is growing at 10 Megs per hour when the program is running and I haven't figured out why. Can anyone recommend a way to track down where the memory is used? Right now I am using 2 methods to try to find the problem: 1) Print["memory = ", MemoryInUse[]] in several places. 2) sz[s_Symbol] := ByteCount[ DownValues[s]]; sz[x_] := ByteCount[x]; Print[{sz[ToExpression[#]], #} & /@ Names[] // Sort]; Also, is there any way to suppress the "shdw" warning message? Thanks, Hein
- Follow-Ups:
- Re: Memory Problems and "shdw"
- From: Kirk Reinholtz <kirk.reinholtz@jpl.nasa.gov>
- Re: Memory Problems and "shdw"