MathGroup Archive 2003

[Date Index] [Thread Index] [Author Index]

Search the Archive

Memory Use growth

  • To: mathgroup at smc.vnet.net
  • Subject: [mg40178] Memory Use growth
  • From: nafod40 <may106 at SPAMAWAY.psu.edu>
  • Date: Tue, 25 Mar 2003 03:03:53 -0500 (EST)
  • Organization: Penn State University, Center for Academic Computing
  • Sender: owner-wri-mathgroup at wolfram.com

Here's my situation. I use Mathlink for Excel to call Mathematica code from 
within Excel.

I use it's Solver to solve coupled problems, so for each instance, the 
Mathematica code might get called 100 times to calculate finite gradients.

Finally, I use a risk analysis tool to generate and calculate up to 
10,000 cases. So I exercise Mathematica functions, some of them quite complex, 
1,000,000+ times.

The kernel memory use always grows, in spite of my best effort to use 
CleanSlate[ ] and other tricks. I end up having to kludge up some code 
to shut down and restart the kernel to flush the memory. It acts like 
there is a memory leak?

Is there any way to get the names of each symbol AND the memory 
allocated to it? Or to flip the question around, relate to each block of 
memory a symbol?

This is killing me. How do webMathematica users handle this? Do 
occasional restarts?



  • Prev by Date: Mlink, listen and connect, help
  • Next by Date: Re: Plot a recurrence relation
  • Previous by thread: Mlink, listen and connect, help
  • Next by thread: NKS 2003: Conference & Minicourse