{"issue":{"milestone":{"title":"0.9.3","created_at":"2011-12-30T02:11:03Z","open_issues":1,"creator":{"login":"dynamobi-build","id":1123017,"url":"https://api.github.com/users/dynamobi-build","avatar_url":"https://secure.gravatar.com/avatar/cb215b3d786be20761071a562a56af64?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"cb215b3d786be20761071a562a56af64"},"state":"open","due_on":null,"closed_issues":16,"number":7,"description":null,"url":"https://api.github.com/repos/dynamobi/dynamobi/milestones/7"},"title":"[FNL-89] leak in FennelStorage.tupleStreamGraphOpen","created_at":"2011-12-30T03:11:27Z","user":{"login":"dynamobi-build","id":1123017,"url":"https://api.github.com/users/dynamobi-build","avatar_url":"https://secure.gravatar.com/avatar/cb215b3d786be20761071a562a56af64?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"cb215b3d786be20761071a562a56af64"},"labels":[{"name":"FNL","url":"https://api.github.com/repos/dynamobi/dynamobi/labels/FNL","color":"6124ad"},{"name":"JniImpl","url":"https://api.github.com/repos/dynamobi/dynamobi/labels/JniImpl","color":"784e14"}],"updated_at":"2011-12-30T03:11:27Z","state":"open","id":2685741,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"closed_at":null,"html_url":"https://github.com/dynamobi/dynamobi/issues/377","body":"<b><i>[reporter=\"jvs\", created=\"Thu, 13 May 2010 02:02:53 -0500 (GMT-05:00)\"]</i></b>\nWhen a stream graph is reused by a new runtime context, we do this:\n<br/>\n\n<br/>\n        streamGraphHandle.javaRuntimeContext =\n<br/>\n            pEnv->NewGlobalRef(hJavaStreamMap);\n<br/>\n \n<br/>\nBut we never DeleteGlobalRef on the old runtime context, causing it to leak (along with all of the Java objects it references).\n<br/>\n\n<br/>\nActually, we should also be doing this even earlier (when the stream graph is closed) so that when a stream graph hangs around in the code cache, it doesn't keep the last runtime context tied up with it.\n<br/>\n","number":377,"url":"https://api.github.com/repos/dynamobi/dynamobi/issues/377","comments":0,"assignee":null},"action":"opened"}