Hi I am running Ubuntu 14.04 and the PPA package: sage: v = r.seq(2**20) sage: v = r.seq(2**20) sage: v = r.seq(2**20) sage: v = r.seq(2**20) sage: v = r.seq(2**40) sage: v = r.seq(2**100) sage: v = r.seq(2**1000) sage: v = r.seq(2**10000) sage: v = r.seq(2**100000) sage: v = r.seq(2**1000000) sage: v = r.seq(2**1000000**2) --------------------------------------------------------------------------- MemoryError Traceback (most recent call last) <ipython-input-12-afd09c8aab7e> in <module>() ----> 1 v = r.seq(Integer(2)**Integer(1000000)**Integer(2))
/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/rings/integer.so in sage.rings.integer.Integer.__pow__ (build/cythonized/sage/rings/integer.c:13907)() MemoryError: failed to allocate 125000000040 bytes sage: v = r.seq(2**10000000) sage: v = r.seq(2**100000000) sage: v Error: object 'sage1' not found sage: v = r.seq(2**1000000000) (OK, still busy thinking on that one) Everything except the last two r..seq() eemed to run in under one second. Regards, Jan On 10 December 2014 at 11:21, Vincent Delecroix <[email protected]> wrote: > Hi, > > A more expensive operation is > > sage: v = r.seq(2**20) > > which is the equivalent of Python range. I will also ask for more > precisions on ask. > > Note that the above command works fine on my computer (debian jessie > and compiled sage 6.5.beta2). > > Vincent > > 2014-12-10 9:22 UTC+01:00, Jan Groenewald <[email protected]>: > > Thanks, > > > > I will do some testing (PPA vs buildbot binary vs source). > > > > First I need to reproduce the error, which I cannot. If I run in a > notebook > > > > %r > > 1=1; > > > > or I run with the evaluation dropdown set to R not sage: > > > > 1+1; > > > > both cells compute correctly in the notebook. Also if I run in a > terminal, > > sage --R then I get a prompte and 1+1; evaluates. Also in the sage > terminal > > after %r, 1+1; evaluates successfully. All of these also exited without > > crashing. > > > > If I try something slightly more, it still seems to work: > > > >> install.packages("test") > > Warning in install.packages("test") : > > 'lib = "/usr/lib/sagemath/local/lib/R/library"' is not writable > > Would you like to use a personal library instead? (y/n) y > > Would you like to create a personal library > > ~/R/x86_64-unknown-linux-gnu-library/3.1 > > to install packages into? (y/n) y > > --- Please select a CRAN mirror for use in this session --- > > Warning message: > > package ‘test’ is not available (for R version 3.1.1) > >> > > > > Can anyone else reproduce this? > > > > > > Regards, > > Jan > > > > > > On 10 December 2014 at 10:12, Vincent Delecroix < > [email protected]> > > wrote: > > > >> Dear Jan (cc-ed sage-devel and sage-release), > >> > >> It seems that the most recent package for ubuntu break the R > >> interface. See the report at: > >> > >> http://ask.sagemath.org/question/25189/cannot-allocate-memory/ > >> > >> Best, > >> Vincent > >> > > > > > > > > -- > > .~. > > /V\ Jan Groenewald > > /( )\ www.aims.ac.za > > ^^-^^ > > > -- .~. /V\ Jan Groenewald /( )\ www.aims.ac.za ^^-^^ -- You received this message because you are subscribed to the Google Groups "sage-release" 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/sage-release. For more options, visit https://groups.google.com/d/optout.
