Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2003
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2003

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

Search the Archive

Re: What Happens to Garbage in Mathematica?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg43936] Re: What Happens to Garbage in Mathematica?
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Tue, 14 Oct 2003 01:07:33 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <bm84s2$fug$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

Share[expr] changes the way expr is stored internally, to try and
minimize \
the amount of memory used. Share[ ] tries to minimize the memory used to
\
store all expressions.

As long as no variable (like In[]/Out[]) point to the data the memory
is returned to the free memory and overwritten.

Regards
  Jens

"Steven T. Hatton" wrote:
> 
> What happens to the alocated memory of objects such as graphics primatives
> when their variable are assigned new values?  For example, suppose I have a
> thousand pairs of triple which I use to create a thousand Line objects. If
> I then change the values of all the tripples, and create new Lines
> assigning them to the same variables I used to store the original Lines,
> what happens to the memory that held the original lines?
> 
> Steven


  • Prev by Date: Re: plotting streamlines from vector data
  • Next by Date: Re: Re: negative pattern matching anyone?
  • Previous by thread: What Happens to Garbage in Mathematica?
  • Next by thread: Re: What Happens to Garbage in Mathematica?