MathGroup Archive 2007

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

Search the Archive

Re: memory release problem in mathematica6.0

  • To: mathgroup at smc.vnet.net
  • Subject: [mg83275] Re: memory release problem in mathematica6.0
  • From: jack <giabernar at gmail.com>
  • Date: Fri, 16 Nov 2007 05:40:39 -0500 (EST)
  • References: <fhegac$m08$1@smc.vnet.net> <fhh71o$8h2$1@smc.vnet.net>

Hi,
i' m aware that memory management of mathematica is different from
that Operating System, but i expect that in mathematica i' ve the
chance to force some kind of garbage collection, because when i
perform consecutive operations of allocating and clearing large data
array my physical memory runs out and the system swap all the time
trashing on disk, until i shutdown the kernel. I don't think that this
beahvior should be accepted and can't be avoided.

Thanks anyway.


Jens-Peer Kuska ha scritto:

> Hi,
>
> you think that Mathematica call the memory management functions
> of the operating system every time it aqquire or release memory ?
>
> This would probably incredible slow .. it will request memory from the
> operating system and integrate it inti its own memory management
>
> And the operating system show it't own memory management but not that
> of Mathematica ..
>
> Regards
>    Jens
>
>
> jack wrote:
> > Hi all,
> > When i define large data structures, for example an array  "A" of
> > million  of elements that occupy some  hundreds of MB of physical
> > memory,when i clear it, with Clear[A] memory isn' t released by
> > operating system. I' ve tried both on windows and linux.
> > The result of MemoryInUse[] command of mathematica but the physical
> > memory reported by the system monitor isn't released.
> > I' ve tried also ClearSystemCache[] but with no result.
> > Am i missing something?
> >
> > Thanks!
> >
> >


  • Prev by Date: Re: Message: "Numerical interation converging too slowly"
  • Next by Date: Re: Multiple Constants
  • Previous by thread: Re: memory release problem in mathematica6.0
  • Next by thread: Re: memory release problem in mathematica6.0