#6772: increase default ecl memory limits for maxima+ecl in sage
---------------------------+------------------------------------------------
   Reporter:  was          |       Owner:  mabshoff    
       Type:  enhancement  |      Status:  needs_review
   Priority:  major        |   Milestone:  sage-4.3    
  Component:  packages     |    Keywords:              
Work_issues:               |      Author:              
   Reviewer:               |      Merged:              
---------------------------+------------------------------------------------

Comment(by was):

 Replying to [comment:4 nbruin]:
 > Replying to [comment:3 was]:
 > > The above appears to make the heap unlimited.
 >
 > Someone should check how Boehm decides if it should extend
 > the heap area or try to reclaim garbage and reuse memory.
 > A side-effect of removing a limit could be that ECL just
 > keeps allocating more memory until everything is used up,
 > before garbage collecting. Other processes might not like that too much.

 That would be really annoying. There's only one program I know that is
 that annoying -- PARI. Fortunately, that does not seem to be what happens
 here.

 I tried the following while watching top:
 {{{
 sage: maxima._eval_line(":lisp (ext:set-limit 'ext:heap-size
 100000000000)",wait_for_prompt=False)
 sage: sage: a = maxima(10)^(10^5)
 sage: sage: b = a^600
 sage: sage: b = a^600
 sage: sage: b = a^600
 sage: sage: b = a^600
 sage: sage: b = a^600
 sage: sage: b = a^600
 sage: sage: b = a^600
 sage: sage: b = a^600
 sage: sage: b = a^600
 }}}
 The memory usage initially goes up from 50MB to 415MB, but then stays at
 415MB ever after.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6772#comment:5>
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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to