MathGroup Archive 2005

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

Search the Archive

MemoryInUse[] differs from System report

  • To: mathgroup at
  • Subject: [mg55055] MemoryInUse[] differs from System report
  • From: "ChiCong" <chicong.v at>
  • Date: Fri, 11 Mar 2005 04:20:30 -0500 (EST)
  • Sender: owner-wri-mathgroup at


I think that I've found a bug about MemoryInUse[]. If I am wrong please
tell me.
Thank you in advance for your support!

I am running Mathematica 5.1.1 for Linux x86 (64 bit)  (January 30,
2005) on SuSE Linux 9.2. The CPU is AMD Opteron Processor 850. Kernel
version is 2.6.5-7.139-smp.

After a lot of heavy computation, Mathematica says that its memory
usage is as follow:

In[38]:= N[{MemoryInUse[],MaxMemoryUsed[]}/2^20]
Out[38]:= {41.3403, 1047.04}

However, using the top command shows that Mathematica is using about
3GB of memory. What's more is that Mathematica doesn't release the
memory even when I try:


Can you explain me how can Mathematica says that it is using only
41.3403 MB, while in fact it is using about 3GB? And is there any


vo.chi.Cong at
Tokyo Institute of Technology
Dept. of Math. & Info. Sciences
Masakazu Kojima Laboratory, D2

  • Prev by Date: Re: ContourPlot3D and mapping
  • Next by Date: Re: ContourPlot3D and mapping
  • Previous by thread: Re: how to set a global assumption setting Every Varaible I use is Real?
  • Next by thread: Ver 4.0 error, "There seems to be ..." corrupts opening a notebook