A Sage program of mine recently aborted with an error traceback
(given in full below) ending with

> TypeError: ECL says: Memory limit reached. Please jump to an outer pointer, 
> quit
>  program and enlarge the
> memory limits before executing the program again.

How is the ECL memory limit configured?  (From looking around with 'ps'
and 'top' while Sage is running, I don't think I'm hitting any OS-level
process-size limit.)

--- begin full error traceback ---
RuntimeError                              Traceback (most recent call last)
/usr/local/sage/sage-9.5.beta8/local/var/lib/sage/venv-python3.7/lib/python3.7/site-packages/sage/interfaces/interface.py
 in __init__(self, parent, value, is_name, name)
    731             try:
--> 732                 self._name = parent._create(value, name=name)
    733             except (TypeError, RuntimeError, ValueError) as x:

/usr/local/sage/sage-9.5.beta8/local/var/lib/sage/venv-python3.7/lib/python3.7/site-packages/sage/interfaces/maxima_lib.py
 in _create(self, value, name)
    607             else:
--> 608                 self.set(name, value)
    609         except RuntimeError as error:

/usr/local/sage/sage-9.5.beta8/local/var/lib/sage/venv-python3.7/lib/python3.7/site-packages/sage/interfaces/maxima_lib.py
 in set(self, var, value)
    515         cmd = '%s : %s$'%(var, value.rstrip(';'))
--> 516         self.eval(cmd)
    517 

/usr/local/sage/sage-9.5.beta8/local/var/lib/sage/venv-python3.7/lib/python3.7/site-packages/sage/interfaces/maxima_lib.py
 in _eval_line(self, line, locals, reformat, **kwds)
    461                 if statement:
--> 462                     maxima_eval("#$%s$" % statement)
    463         if not reformat:

/usr/local/sage/sage-9.5.beta8/local/var/lib/sage/venv-python3.7/lib/python3.7/site-packages/sage/libs/ecl.pyx
 in sage.libs.ecl.EclObject.__call__ (build/cythonized/sage/libs/ecl.c:8438)()
    837         lispargs = EclObject(list(args))
--> 838         return 
ecl_wrap(ecl_safe_apply(self.obj,(<EclObject>lispargs).obj))
    839 

/usr/local/sage/sage-9.5.beta8/local/var/lib/sage/venv-python3.7/lib/python3.7/site-packages/sage/libs/ecl.pyx
 in sage.libs.ecl.ecl_safe_apply (build/cythonized/sage/libs/ecl.c:5980)()
    358         else:
--> 359             raise RuntimeError("ECL says: {}".format(message))
    360     else:

RuntimeError: ECL says: Memory limit reached. Please jump to an outer pointer, 
quit program and enlarge the
memory limits before executing the program again.

During handling of the above exception, another exception occurred:

TypeError                                 Traceback (most recent call last)
<ipython-input-53-f6deabe57357> in <module>
      1 do_Einstein(ell=ell, emm=emm, parity='generic',
      2             eqn_numbers_to_solve=(),
----> 3             result_name_prefix='generic_')

<string> in do_Einstein(ell, emm, parity, rescale_G_dd_factors, 
rescale_G_dd_name_prefixes, eqn_numbers_to_solve, result_name_prefix)

<string> in separate_Lorenz_gauge_eqns(ell, emm, G_dd)

<string> in simplify_expression(expr)

/usr/local/sage/sage-9.5.beta8/local/var/lib/sage/venv-python3.7/lib/python3.7/site-packages/sage/symbolic/expression.pyx
 in sage.symbolic.expression.Expression.simplify_full 
(build/cythonized/sage/symbolic/expression.cpp:81694)()
  10664         x = self
  10665         x = x.simplify_factorial()
> 10666         x = x.simplify_rectform()
  10667         x = x.simplify_trig()
  10668         x = x.simplify_rational()

/usr/local/sage/sage-9.5.beta8/local/var/lib/sage/venv-python3.7/lib/python3.7/site-packages/sage/symbolic/expression.pyx
 in sage.symbolic.expression.Expression.simplify_rectform 
(build/cythonized/sage/symbolic/expression.cpp:83162)()
  10815 
  10816         """
> 10817         simplified_expr = self.rectform()
  10818 
  10819         if complexity_measure is None:

/usr/local/sage/sage-9.5.beta8/local/var/lib/sage/venv-python3.7/lib/python3.7/site-packages/sage/symbolic/expression.pyx
 in sage.symbolic.expression.Expression.rectform 
(build/cythonized/sage/symbolic/expression.cpp:81206)()
  10496             0.0
  10497         """
> 10498         return self.maxima_methods().rectform()
  10499 
  10500     def unhold(self, exclude=None):

/usr/local/sage/sage-9.5.beta8/local/var/lib/sage/venv-python3.7/lib/python3.7/site-packages/sage/symbolic/maxima_wrapper.py
 in __call__(self, *args, **kwds)
     30         """
     31         return super(MaximaFunctionElementWrapper, self).__call__(*args,
---> 32                 **kwds).sage()
     33 
     34 class MaximaWrapper(SageObject):

/usr/local/sage/sage-9.5.beta8/local/var/lib/sage/venv-python3.7/lib/python3.7/site-packages/sage/interfaces/interface.py
 in __call__(self, *args, **kwds)
    691 
    692     def __call__(self, *args, **kwds):
--> 693         return self._obj.parent().function_call(self._name, [self._obj] 
+ list(args), kwds)
    694 
    695     def help(self):

/usr/local/sage/sage-9.5.beta8/local/var/lib/sage/venv-python3.7/lib/python3.7/site-packages/sage/interfaces/interface.py
 in function_call(self, function, args, kwds)
    611                                        [s.name() for s in args],
    612                                        ['%s=%s'%(key,value.name()) for 
key, value in kwds.items()])
--> 613         return self.new(s)
    614 
    615     def _function_call_string(self, function, args, kwds):

/usr/local/sage/sage-9.5.beta8/local/var/lib/sage/venv-python3.7/lib/python3.7/site-packages/sage/interfaces/interface.py
 in new(self, code)
    380 
    381     def new(self, code):
--> 382         return self(code)
    383 
    384     ###################################################################

/usr/local/sage/sage-9.5.beta8/local/var/lib/sage/venv-python3.7/lib/python3.7/site-packages/sage/interfaces/interface.py
 in __call__(self, x, name)
    293 
    294         if isinstance(x, str):
--> 295             return cls(self, x, name=name)
    296         try:
    297             # Special methods do not and should not have an option to

/usr/local/sage/sage-9.5.beta8/local/var/lib/sage/venv-python3.7/lib/python3.7/site-packages/sage/interfaces/interface.py
 in __init__(self, parent, value, is_name, name)
    732                 self._name = parent._create(value, name=name)
    733             except (TypeError, RuntimeError, ValueError) as x:
--> 734                 raise TypeError(x)
    735 
    736     def _latex_(self):

TypeError: ECL says: Memory limit reached. Please jump to an outer pointer, 
quit program and enlarge the
memory limits before executing the program again.
sage: Exiting Sage (CPU time 90m12.99s, Wall time 90m16.79s).
--- end full error traceback ---

thanks, keep safe and COVID-free,
--
-- "Jonathan Thornburg [remove color- to reply]" <jthorn4...@pink-gmail.com>
   on the west coast of Canada, eh?
   "There was of course no way of knowing whether you were being watched
    at any given moment.  How often, or on what system, the Thought Police
    plugged in on any individual wire was guesswork.  It was even conceivable
    that they watched everybody all the time."  -- George Orwell, "1984"

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/YdqRkbICfAZLr4QH%40gold.bkis-orchard.net.

Reply via email to