On May 1, 2009, at 2:34 AM, mabshoff wrote:

> On May 1, 2:02 am, John Cremona <john.crem...@gmail.com> wrote:
>
> Hi John,
>
>> The actual cardinality is computed using the pari library (since the
>> field is a prime field and p<10**18).  I the leak is in  
>> libsingular it
>> must come from constructing the curve, not from computing the
>> cardinality.  So it would be worth testing the loop with a new
>> function which constructs the curve and returns nothing.
>
> Ok, this seems to indicate for me that maybe Coercion could be
> involved here in some shape or form since it seems that for every
> prime we iterate over we create/leak a new mv ring in libSingular. And
> that cannot be a good thing :)
>
> No that I have a clue how to debug this, so I will poke RobertWB - I
> am sure he has nothing better to do that to dive into this problem and
> will be happy to debug this ;)

Yep, I bet coercion is leaking rings. I'll look at this during Sage  
days, if not sooner.

- Robert


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to