But if integral is "easy" (take not much memory) is number of people is restricted only by available memory? Can Sympy serve as much as memory allows?
On Thursday, March 12, 2015 at 8:44:44 PM UTC+2, Joachim Durchholz wrote: > > Am 12.03.2015 um 17:39 schrieb Paul Royik: > > I'm running my site under mod_wsgi+apache. > > How many people simultaneously can calculate integral? > > I experience problems with memory limit and need to adjust number of > > threads/processes/workers. > > Ah, now I understand. > > Integration can take large amounts of memory - I have seen footprints > over 4 GB for a single integral, and I doubt that that's the limit. > > I'm no authority on the subject, but AFAIK such things happen when the > integrand is "difficult", i.e. the algorithms in SymPy do not find the > right solution quickly. > > I think the best you can do is to impose a limit on how much resources a > web request may take, and if the process exceeds them, kill it and serve > a page with a message saying that the formula was too difficult > (possibly with some tips how to make the formula easier, or a link to > the appropriate pages in the SymPy documentation). > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/b090eff3-9899-4bf4-a5d9-c34dfc987c66%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
