The leakage does not seem to be happening on the python heap. A next step could be to see if cypari's stack is swelling. On Thursday 29 August 2024 at 02:34:06 UTC-7 Georgi Guninski wrote:
> In short: > ``` > for A2 in range(1, 10**5): > E=EllipticCurve([A2,0]) > rn=E.root_number() > ``` > leaks nearly 128MB of memory on sage 10.4 > > The same code in pari passes with very little memory. > > This is related to the following problem in algebraic geometry [1] > > Let $k,k_1,k_2$ be squarefree pairwise coprime integers. > > Assume $|k|>1$ and $|k_1|>1$ and $|k_2|>1$. > > Define the elliptic curves over the rationals: > > $$E_0:x^3+k x=y^2, E_1: x^3+k k_1^2 x,E_2: x^3+k k_2^2 x =y^2, > E_3: x^3+k k_1^2 k_2^2 x=y^2$$ > < > > Then at least one of the root numbers of E_i is -1. > > [1] https://mathoverflow.net/q/476863/12481 > On the root numbers of quadruples of quadratic twists of elliptic curves > -- 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/6ddbef14-ded4-4a42-805b-28f63b9114d0n%40googlegroups.com.