On Jan 13, 2009, at 11:39 AM, ma...@mendelu.cz wrote: > Many thanks, memory seems to be a big problem on my server (I did > tests you suggested on my laptop and each worksheet is consumig a lot > of memory). I have seen that sagenb.org has 2GB memory - like my PC. > How many users wirk simultaneously on sagenb.org? > > * I think that I can set up my personal computer as second sage server > for my class > Is it sufficient to move the ~/login/.sage directory to clone > all the work to the second server? > > * I will ask our webmaster to increase memory on my virtual server on > Mondays :) > But it supprised me that sage is so memory demanding :( > The students were asked to calculate nothing more than few > limits and draw some 2d graphs.
I think this is because Sage loads a lot more than your students are using by default. Periodically, William (or others) has gone through and audited the sage startup for speed, pruning unnecessary imports-- perhaps the same could be done with an eye towards memory usage. If you're graphing and plotting, each notebook probably started up a maxima process as well. > * Is there any other possibility how to decrease the memory demand? I > tried to open 17 notebooks with notebook(ulimit="-v 10240") but this > did not help. The demand for memory was the same as for notebook() > command. I would imagine a lot of Sage is in shared object libraries--these don't have to reside in memory for each individual process, do they? I wonder if something like pyprocessing could be used, which seems to effectively re-use the loaded libraries. > I wonder how the others use sage in education. Do they have so big > memory on their servers? > Thank you very much. I would imagine a couple of GB at least, but I personally don't have any experience. The summer REU programs that have used Sage here were on a computer with an atypically large amount of RAM, but that shouldn't be a necessity. - Robert --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---