home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 392110253

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions performed_via_github_app issue
https://github.com/pydata/xarray/issues/2186#issuecomment-392110253 https://api.github.com/repos/pydata/xarray/issues/2186 392110253 MDEyOklzc3VlQ29tbWVudDM5MjExMDI1Mw== 12929327 2018-05-25T16:23:55Z 2018-05-25T16:24:33Z NONE

Yes, I understand the garbage collection. The problem I'm struggling with here is that normally when working with arrays, maintaining only one reference to an array and replacing the data that reference points to within a loop does not result in memory accumulation because GC is triggered on the prior, now dereferenced array from the previous iteration.

Here, it seems that under the hood, references to arrays have been created other than my "data" variable that are not being dereferenced when I reassign to "data," so stuff is accumulating in memory.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  326533369
Powered by Datasette · Queries took 0.698ms · About: xarray-datasette