MathGroup Archive 2005

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

Search the Archive

Re: Memory leak, once again.

  • To: mathgroup at smc.vnet.net
  • Subject: [mg61616] Re: Memory leak, once again.
  • From: David Bailey <dave at Remove_Thisdbailey.co.uk>
  • Date: Mon, 24 Oct 2005 01:43:57 -0400 (EDT)
  • References: <djfmok$api$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Sander wrote:
> I have been browsing the posts in this group, but was not able to find
> anything to solve my problem.
> I have a feeling Mathematica still has a memory leak, and a severe one,
> but cannot locate it. I wonder if anybody can help me.
> ------------------------------------------------
> I have a code for some algebraic computations - no images,no sounds, no
> files.
> I load the initial data, MemoryInUse shows about 3MB used.
> I run the evaluation. Say in the current example in succeeds to
> evaluate the needed data at 22MB.
> Then I run the
> Remove["Global`"] command (the only non-system context I have),
> then I also use the CleanSlate utility to clear In and Out things.
> I look at the MemoryInUse again and it shows about 19MB used.
> ------------------------------------------------
> So it seems I have cleared all my input data, but the memory is still
> used. Share[] does nothing as well. So could there probably be some
> hidden system variable that stored something weird?
> ------------------------------------------------
> I understand that 19MB is nothing, but the problem is that the memory
> used keeps going up constantly, and much faster that the growth of the
> data set I have. So it makes me incapable of evaluating example I need.
> -------------------------------------------------
> If it can help, I am on Mathematica 5.0, Windows XP
> -------------------------------------------------
> Thanks to everybody in advance!
> 
Hello,

I think it would help to post some code that exhibits this problem - 
preferably in the form of a loop that clearly goes on consuming memory.

David Bailey
http://www.dbaileyconsultancy.co.uk


  • Prev by Date: Re: Importing from Adobe Illustrator
  • Next by Date: Re: Use of CAS in introductory science&engineering courses
  • Previous by thread: Re: Memory leak, once again.
  • Next by thread: Print in a loop