Ask Your Question
1

Memory leak with modular symbols?

asked 2017-01-08 22:21:45 +0200

Robert Pollack gravatar image

I run the following code:

DB = CremonaDatabase()
for N in range(1,10000):
        Cs = DB.isogeny_classes(N)
        for C in Cs:
                E=EllipticCurve(C[0][0])
                phi=E.modular_symbol()

and the memory used keeps going up and up and up.

This must be related to the fact that the modular symbol data is cached. Is there a way I can clear out this memory usage? I want to be doing a computation with each such modular symbol and then just get rid of the modular symbol.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2017-01-09 15:42:30 +0200

John Cremona gravatar image

updated 2017-01-10 13:36:05 +0200

This is a bug and is being dealt with at https://trac.sagemath.org/ticket/22164

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-01-08 22:21:45 +0200

Seen: 205 times

Last updated: Jan 10 '17