Variable definitions are stored in a child process of the sage server. They 
will be retained until one of the following processes stops:
- the child process
- the sage_server process
- the project process

Variables are therefore reset when any of the following happens:
- worksheet is restarted ("Restart" button at top of .sagews)
- Worksheet server is restarted ("Restart Sage Worksheet Server" button on 
project Settings and configuration page)
- project is restarted ("Restart project" dialogue on project Settings and 
configuration page)

If your project is on a free server, it will be stopped whenever the Google 
pre-emptible server instance restarts, typically once per 24 hours.
More info 
here: 
https://github.com/sagemathinc/smc/wiki/Why-should-I-purchase-a-subscription%3F

In any case, projects are stopped after some number of hours of 
non-interactive use, determined by the "Idle timeout" project setting on 
project Settings and configuration.

On Sunday, February 19, 2017 at 6:22:40 AM UTC-6, [email protected] wrote:
>
> I find that if I open a .sagews that I worked on yesterday, all my 
> definition are still in the memory (even if I had completely logged out of 
> SMC). But if I open one that I last worked on two weeks ago, there are no 
> saved definitions. So I wonder how the system decides when to reset the 
> definitions.
> Thanks for any information
>
>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-cloud" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-cloud/25908d3f-5728-46d0-b361-9f5a686dd51e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to