yt_analysis is sharing code with you

Bitbucket is a code hosting site. Unlimited public and private repositories. Free for small teams.

Don't show this again

yt_analysis / yt http://yt-project.org/

yt is a python package for analyzing and visualizing astrophysical simulation output from a couple simulation platforms. Check out the homepage (there's a link just above!) where we have documentation, a cookbook, and some user community information.

Clone this repository (size: 41.0 MB): HTTPS / SSH
hg clone https://bitbucket.org/yt_analysis/yt
hg clone ssh://hg@bitbucket.org/yt_analysis/yt

Issues

#199 memory leak in sphere objects

Reported by yt_analysis (last edited )

Imported Ticket

  • Summary: memory leak in sphere objects
  • Component: yt
  • Milestone: 2.0
  • Reporter: britton
  • Owner: mturk
  • Resolution: worksforme
  • Status: closed
  • Created: 1236789728000000
  • Description: The following sequence of commands will result in a memory leak.

pf = EnzoStaticOutput('something')

sphere = pf.h.sphere(center,radius)

sphere['Density']

sphere.clear_data()

del sphere

Note: adding this before sphere.clear_data() helps, but does not appear to totally fix the problem. Adding it after that call has the same effect.

for g in pf.h.grids: g.clear_data()

Update to Ticket

  • Author: mturk
  • Changetime: 1239946062000000
  • Field: status
  • Oldvalue: new
  • Newvalue: closed

Update to Ticket

  • Author: mturk
  • Changetime: 1239946062000000
  • Field: resolution
  • Oldvalue: None
  • Newvalue: worksforme

Update to Ticket

  • Author: mturk
  • Changetime: 1239946062000000
  • Field: comment
  • Oldvalue: 1
  • Newvalue: I can't replicate this; we should re-open if we can be clear that it happens under 2.6 on multiple platforms.

Update to Ticket

  • Author: mturk
  • Changetime: 1240076942000000
  • Field: status
  • Oldvalue: closed
  • Newvalue: reopened

Update to Ticket

  • Author: mturk
  • Changetime: 1240076942000000
  • Field: resolution
  • Oldvalue: worksforme
  • Newvalue:

Update to Ticket

  • Author: mturk
  • Changetime: 1240076942000000
  • Field: comment
  • Oldvalue: 2
  • Newvalue: This is still an issue, I have been assured; I'm trying to replicate here.

Update to Ticket

  • Author: mturk
  • Changetime: 1240160761000000
  • Field: milestone
  • Oldvalue: 1.5
  • Newvalue: 2.0

Update to Ticket

  • Author: mturk
  • Changetime: 1240160761000000
  • Field: comment
  • Oldvalue: 3
  • Newvalue: This seems to be related to the child masks being kept around. I've committed a helpful fix, which doesn't completely fix the problem, in r1258, and we're bumping to the next version where we'll rethink child masks.

Update to Ticket

  • Author: mturk
  • Changetime: 1282253970000000
  • Field: status
  • Oldvalue: reopened
  • Newvalue: closed

Update to Ticket

  • Author: mturk
  • Changetime: 1282253970000000
  • Field: resolution
  • Oldvalue:
  • Newvalue: worksforme

Update to Ticket

  • Author: mturk
  • Changetime: 1282253970000000
  • Field: comment
  • Oldvalue: 4
  • Newvalue:
Status: invalid Responsible: nobody Type: bug Priority: major
Milestone: 2.0 Component: yt Version: none

Attachments

No attachments added for this issue yet.

Comments and changes

No comments added for this issue yet.

Add comment / attachment

Show/hide preview

Verification: Please write the text from the image in the box (letters only)

captcha

Is that you, Humanoid? Is this me?