{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/reflectable/issues/32","labels_url":"https://api.github.com/repos/dart-lang/reflectable/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/reflectable/issues/32/comments","events_url":"https://api.github.com/repos/dart-lang/reflectable/issues/32/events","html_url":"https://github.com/dart-lang/reflectable/issues/32","id":107391979,"number":32,"title":"Memoryleak using Transformer when running pub serve ","user":{"login":"wienczny","id":301227,"avatar_url":"https://avatars.githubusercontent.com/u/301227?v=3","gravatar_id":"","url":"https://api.github.com/users/wienczny","html_url":"https://github.com/wienczny","followers_url":"https://api.github.com/users/wienczny/followers","following_url":"https://api.github.com/users/wienczny/following{/other_user}","gists_url":"https://api.github.com/users/wienczny/gists{/gist_id}","starred_url":"https://api.github.com/users/wienczny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wienczny/subscriptions","organizations_url":"https://api.github.com/users/wienczny/orgs","repos_url":"https://api.github.com/users/wienczny/repos","events_url":"https://api.github.com/users/wienczny/events{/privacy}","received_events_url":"https://api.github.com/users/wienczny/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-09-20T13:10:17Z","updated_at":"2015-10-01T21:31:34Z","closed_at":null,"body":"I'm currently running into a memory leak using pub serve. \r\n\r\nThe pubspec looks like this:\r\n```\r\nname: myapp\r\nversion: 0.0.1\r\ndescription: Myapp.\r\ndependencies:\r\n  polymer: ^1.0.0\r\n  polymer_elements: any\r\n  web_components: ^0.12.0\r\n  browser: any\r\n  route_hierarchical: any\r\n  protobuf: any\r\n  uuid: any\r\n  lawndart: any\r\n  quiver: any\r\n  reflectable: 0.2.0\r\ntransformers:\r\n- web_components:\r\n    entry_points:\r\n    - web/index.html\r\n#    - test/app_test.html\r\n- reflectable:\r\n    entry_points:\r\n    - web/index.dart\r\n#    - test/app_test.dart\r\n- test/pub_serve:\r\n    $include: test/**_test{.*,}.dart\r\n- $dart2js:\r\n    minify: false\r\n    sourceMaps: true\r\n    verbose: true\r\ndev_dependencies:\r\n  test: ^0.12.3\r\nenvironment:\r\n  sdk: \">=1.2.0 <2.0.0\"\r\ndependency_overrides:\r\n  polymer:\r\n    git:\r\n      ref: behaviors\r\n      url: https://github.com/dart-lang/polymer-dart.git\r\n  polymer_interop:\r\n    git:\r\n      ref: 0.2.0-dev\r\n      url: https://github.com/dart-lang/polymer_interop.git\r\n  polymer_elements:\r\n    git:\r\n      ref: master\r\n      url: https://github.com/dart-lang/polymer_elements.git\r\n  reflectable:\r\n    path: ../reflectable/reflectable\r\n```\r\nIm running this to prevent pub from taking all the memory available.\r\n```\r\nexport DART_VM_OPTIONS=--observe\r\nulimit -Sv 4000000\r\npub serve --mode debug --hostname 0.0.0.0 --port 7080\r\n```\r\nI tried to find the reason using Observatory. The top classes from the allocation profile are \r\n- LinkEntry\r\n- _List \r\n- Context."},"comment":{"url":"https://api.github.com/repos/dart-lang/reflectable/issues/comments/144856019","html_url":"https://github.com/dart-lang/reflectable/issues/32#issuecomment-144856019","issue_url":"https://api.github.com/repos/dart-lang/reflectable/issues/32","id":144856019,"user":{"login":"wienczny","id":301227,"avatar_url":"https://avatars.githubusercontent.com/u/301227?v=3","gravatar_id":"","url":"https://api.github.com/users/wienczny","html_url":"https://github.com/wienczny","followers_url":"https://api.github.com/users/wienczny/followers","following_url":"https://api.github.com/users/wienczny/following{/other_user}","gists_url":"https://api.github.com/users/wienczny/gists{/gist_id}","starred_url":"https://api.github.com/users/wienczny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wienczny/subscriptions","organizations_url":"https://api.github.com/users/wienczny/orgs","repos_url":"https://api.github.com/users/wienczny/repos","events_url":"https://api.github.com/users/wienczny/events{/privacy}","received_events_url":"https://api.github.com/users/wienczny/received_events","type":"User","site_admin":false},"created_at":"2015-10-01T21:31:34Z","updated_at":"2015-10-01T21:31:34Z","body":"@eernstg This should be the issue I'm experiencing.\r\n@zoechi Is the OOM in Dartium, too?"}}