clear variable from MEMORY

March 17 2010 by ndattani 549
false
Maple

1


Hello,

I found this on a website:

------------------------------------------------------------------------------------------------------------------

To clear all variables in Maple and restart without having to reload the application, enter:

restart;

This will clear all values, unload all packages, and reinitialize Maple. However, this command will not free up memory previously allocated to Maple; consequently, when doing large jobs, the only way to improve speed is to exit and restart Maple.

------------------------------------------------------------------------------------------------------------------

Does this mean I can't clear any variables from memory at all without closing maple ??

In matlab all you have to do is:

clear('x')

and that will clear the variable x from memory (you can see that the amount of memory allocated to matlab goes down if you look at the windows task manager)

 

In maple when I clear the variable x by applying the command:

x:='x'

the amount of memory allocated to maple remains the same.

 

I'm hoping that that website was wrong and there is a way around this because being able to clear a huge variable that's only needed for the initial stages of a long computation is extremely important - any software should be able to do this.

 

 
Loading Comments & Answers

You must be logged into your MaplePrimes account in order to post a comment. If you don't have an account, you can create an account here.

     

Forgot Your Password? Create an Account