Skip to content

memory leak when performing the calculation CDF(I)^2 #4683

@sagetrac-ggrafendorfer

Description

@sagetrac-ggrafendorfer

Using sage 3.2 (compiled from sources) on a 32-bit Core Duo machine running Debian Etch,
when performing

georg@HILBERT:~/Daten/Sync/Phd/Code/sde$ sage
----------------------------------------------------------------------
| Sage Version 3.2, Release Date: 2008-11-20                         |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------

sage: v = [CDF(i)^2 for n in range(50000)]
sage: v = [CDF(i)^2 for n in range(50000)]
sage: v = [CDF(i)^2 for n in range(50000)]

memory consumption increases about 70Mb which each command (at least on my machine),
this does not happen if one writes

sage: v = [CDF(i^2.) for n in range(50000)]

, however, results are the same,

Georg

Component: basic arithmetic

Issue created by migration from https://trac.sagemath.org/ticket/4683

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions