ma...@mendelu.cz wrote:
> 
> 
> On 13 Led, 17:47, "William Stein" <wst...@gmail.com> wrote:
>> On Tue, Jan 13, 2009 at 8:36 AM, ma...@mendelu.cz <ma...@mendelu.cz> wrote:
>>
>>> Dear all,
>>> I had a lecture in computer lab. There were about 15 students on one
>>> sage server.  After about 20 minutes we got messages, that Sage lost
>>> connection to Maxima. I did not know how to establish the connection
>>> again and I restarted the virtual server (I run sage on virtual server
>>> under Debain lenny with Xen virtualization).
>>> Can you guess what happened (overloaded server? problems with memory?)
>>> and what to do with this next time?
>> How much RAM does the virtual server have?
>>
> 
> 500 MB
> 
> 
>  free
>                         total       used       free     shared
> buffers     cached
> Mem:        504828     396664     108164          0     134916
> 113796
> -/+ buffers/cache:     147952     356876
> Swap:       273064          0     273064


I noticed that for my Sage server, each open worksheet took about 140MB 
of RAM.  When I ran out of memory, the server froze and lots of errors 
happened.  To me, it sounds like you probably ran out of memory if you 
had 15 worksheets open simultaneously (which I would calculate would 
need about 15*140=2100 MB of RAM).

You can test this yourself by opening up your notebook and opening up 15 
worksheets in different tabs in your browser.  Run a calculation in each 
one and check to see how much memory you have then.  Also, you might see 
how much memory is consumed by running a single worksheet (i.e., check 
the memory usage, start up a single worksheet and calculate something, 
and then check the memory usage again).

Jason


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to