MathGroup Archive 2009

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

Search the Archive

Re: Re: Re: Releasing memory


I'm checking memory usage with the Windows task manager, and see no 
change in usage there after using Remove or Clear. Using Unprotect[x]; 
Out[x]=. seems to do the trick, but that doesn't work when I am loading 
a big file and calling an external program in the same loop...

Thanks!
Zach

On 7/18/2009 4:52 AM, Sseziwa Mukasa wrote:
> On Jul 16, 2009, at 8:21 AM, Filippo Miatto wrote:
>
>    
>> How can I release memory without quitting the mathkernel?
>> Thank you
>> Filippo
>>
>> On Jul 14, 2009, at 11:36 AM, Zach Bj=F8rnson wrote:
>>
>>      
>>> Clear, ClearAll and Remove remove the definitions from Mathematica,
>>>        
>>> but
>>> the amounts of memory in use by the MathKernel processes don't
>>> change.
>>>        
>
> How are you checking the memory use?  The amount of memory used
> changes for me if I Clear or Remove a variable the contained a large
> structure.
>
> Are you also clearing your History?  Depending on the how you do your
> calculations you may need to Clear In and Out.
>
> Regards,
>
> Ssezi
>
>    



  • Prev by Date: Re: Different (real) solutions using Solve for same
  • Next by Date: Re: Different (real) solutions using Solve for same equation
  • Previous by thread: Re: Re: Releasing memory
  • Next by thread: Re: Releasing memory