Answer edited and added to SMC wiki:
How long are definitions saved in a .sagews file?
https://github.com/sagemathinc/smc/wiki/sagews#defns-saved
On Sunday, February 19, 2017 at 1:56:27 PM UTC-6, Hal Snyder wrote:
>
> 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/0f148477-9a48-4ae4-99f9-5a218bbd699b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.