#19883: Let PARI handle its own stack
-------------------------------------+-------------------------------------
Reporter: jdemeyer | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-7.0
Component: packages: | Resolution:
standard | Merged in:
Keywords: | Reviewers:
Authors: Jeroen Demeyer | Work issues:
Report Upstream: Reported | Commit:
upstream. No feedback yet. | 5bc6f271aa21be3f54b12322f7dde9b3d5b04fe9
Branch: | Stopgaps:
u/jdemeyer/let_pari_handle_its_own_stack|
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by pbruin):
The following looks funny:
{{{
sage: pari.allocatemem(2^4, 2^64-1)
*** Warning: not enough memory, new stack 9223372036854775808
*** Warning: not enough memory, new stack 4611686018427387904
*** Warning: not enough memory, new stack 2305843009213693952
*** Warning: not enough memory, new stack 1152921504606846976
*** Warning: not enough memory, new stack 576460752303423488
*** Warning: not enough memory, new stack 288230376151711744
*** Warning: not enough memory, new stack 144115188075855872
*** Warning: not enough memory, new stack 72057594037927936
*** Warning: not enough memory, new stack 36028797018963968
*** Warning: not enough memory, new stack 18014398509481984
*** Warning: not enough memory, new stack 9007199254740992
*** Warning: not enough memory, new stack 4503599627370496
*** Warning: not enough memory, new stack 2251799813685248
*** Warning: not enough memory, new stack 1125899906842624
*** Warning: not enough memory, new stack 562949953421312
*** Warning: not enough memory, new stack 281474976710656
*** Warning: not enough memory, new stack 140737488355328
*** Warning: not enough memory, new stack 70368744177664
PARI stack size set to 1024 bytes
}}}
You may want to silence these warnings as well. I would also suggest
`allocatemem()` should print both the actual and the maximum stack sizes
with `silent=False`.
--
Ticket URL: <http://trac.sagemath.org/ticket/19883#comment:10>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.