#10963: More functorial constructions
-------------------------------------+-------------------------------------
       Reporter:  nthiery            |        Owner:  stumpc5
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-5.13
      Component:  categories         |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Nicolas M. Thiéry  |    Reviewers:  Simon King, Frédéric
Report Upstream:  N/A                |  Chapoton
         Branch:                     |  Work issues:
   Dependencies:  #11224, #8327,     |       Commit:
  #10193, #12895, #14516, #14722,    |     Stopgaps:
  #13589, #14471, #15069, #15094,    |
  #11688, #13394                     |
-------------------------------------+-------------------------------------

Comment (by jdemeyer):

 It seems that this patch increases the memory usage in Sage. This used to
 pass, but now fails:
 {{{
 $ ulimit -v 2300000; ./sage -t --long
 devel/sage/sage/schemes/elliptic_curves/heegner.py
 Running doctests with ID 2013-11-04-21-49-06-b972df36.
 Doctesting 1 file.
 sage -t --long devel/sage/sage/schemes/elliptic_curves/heegner.py
 Process DocTestWorker-1:
 Traceback (most recent call last):
   File
 
"/scratch/release/merger/sage-5.13.beta3/local/lib/python/multiprocessing/process.py",
 line 258, in _bootstrap
     self.run()
   File "/scratch/release/merger/sage-5.13.beta3/local/lib/python2.7/site-
 packages/sage/doctest/forker.py", line 1802, in run
     task(self.options, self.outtmpfile, msgpipe, self.result_queue)
   File "/scratch/release/merger/sage-5.13.beta3/local/lib/python2.7/site-
 packages/sage/doctest/forker.py", line 2113, in __call__
     result_queue.put(result, False)
   File
 
"/scratch/release/merger/sage-5.13.beta3/local/lib/python/multiprocessing/queues.py",
 line 107, in put
     self._start_thread()
   File
 
"/scratch/release/merger/sage-5.13.beta3/local/lib/python/multiprocessing/queues.py",
 line 191, in _start_thread
     self._thread.start()
   File
 "/scratch/release/merger/sage-5.13.beta3/local/lib/python/threading.py",
 line 743, in start
     _start_new_thread(self.__bootstrap, ())
 error: can't start new thread
     Bad exit: 1
 **********************************************************************
 Tests run before process (pid=22245) failed:
 sage: E = EllipticCurve('433a') ## line 13 ##
 sage: P = E.heegner_point(-8,3) ## line 14 ##
 sage: z = P.point_exact(201); z ## line 15 ##
 (-4/3 : 1/27*a - 4/27 : 1)
 [...]
 sage: E.heegner_index(-8) ## line 6478 ##
 terminate called after throwing an instance of 'std::bad_alloc'
   what():  std::bad_alloc

 **********************************************************************
 ----------------------------------------------------------------------
 sage -t --long devel/sage/sage/schemes/elliptic_curves/heegner.py  # Bad
 exit: 1
 ----------------------------------------------------------------------
 }}}

 For me, this doesn't imply needs_work, but somebody should at least
 confirm that this is normal and expected.

--
Ticket URL: <http://trac.sagemath.org/ticket/10963#comment:154>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" 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-trac.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to