{"action":"created","issue":{"url":"https://api.github.com/repos/capriza/node-busmq/issues/28","repository_url":"https://api.github.com/repos/capriza/node-busmq","labels_url":"https://api.github.com/repos/capriza/node-busmq/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/capriza/node-busmq/issues/28/comments","events_url":"https://api.github.com/repos/capriza/node-busmq/issues/28/events","html_url":"https://github.com/capriza/node-busmq/issues/28","id":143195016,"number":28,"title":"process out of memory","user":{"login":"kpturner","id":308646,"avatar_url":"https://avatars.githubusercontent.com/u/308646?v=3","gravatar_id":"","url":"https://api.github.com/users/kpturner","html_url":"https://github.com/kpturner","followers_url":"https://api.github.com/users/kpturner/followers","following_url":"https://api.github.com/users/kpturner/following{/other_user}","gists_url":"https://api.github.com/users/kpturner/gists{/gist_id}","starred_url":"https://api.github.com/users/kpturner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kpturner/subscriptions","organizations_url":"https://api.github.com/users/kpturner/orgs","repos_url":"https://api.github.com/users/kpturner/repos","events_url":"https://api.github.com/users/kpturner/events{/privacy}","received_events_url":"https://api.github.com/users/kpturner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-03-24T09:20:54Z","updated_at":"2016-03-25T12:13:08Z","closed_at":null,"body":" I received the error below after leaving a process exchanging messages with busmq for a day or so.  I will see if I can spot a pattern.  I cannot yet confirm if the issue is caused by busmq or it is simply a victim of an issue elsewhere.\r\n\r\n> <--- Last few GCs --->\r\n> \r\n> 77761515 ms: Scavenge 697.2 (738.9) -> 697.2 (738.9) MB, 13.2 / 0 ms (+ 4.0 ms in 1 steps since last GC) [allocation failure] [incremental marking delaying mark-sweep].\r\n> 77763030 ms: Mark-sweep 697.2 (738.9) -> 697.2 (738.9) MB, 1515.0 / 0 ms (+ 6.0 ms in 2 steps since start of marking, biggest step 4.0 ms) [last resort gc].\r\n> 77764634 ms: Mark-sweep 697.2 (738.9) -> 697.1 (738.9) MB, 1603.9 / 0 ms [last resort gc].\r\n> \r\n> \r\n> <--- JS stacktrace --->\r\n> \r\n> ==== JS stack trace =========================================\r\n> \r\n> Security context: 2306CC95 <JS Object>\r\n>     1: expire [C:\\Users\\kturner\\repos\\rns-node\\node_modules\\busmq\\lib\\connection.js:181] [pc=32A943DE] (this=2A7AE6BD <a Connection with map 0FDED031>)\r\n>     2: arguments adaptor frame: 3->0\r\n>     3: /* anonymous */(aka /* anonymous */) [C:\\Users\\kturner\\repos\\rns-node\\node_modules\\busmq\\lib\\queue.js:121] [pc=32AC4E7C] (this=230080DD <undefined>,key=33525105 <String[37]: bus:queue:out_default_rnsdta:meta...\r\n> \r\n> FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory\r\n"},"comment":{"url":"https://api.github.com/repos/capriza/node-busmq/issues/comments/201256207","html_url":"https://github.com/capriza/node-busmq/issues/28#issuecomment-201256207","issue_url":"https://api.github.com/repos/capriza/node-busmq/issues/28","id":201256207,"user":{"login":"kpturner","id":308646,"avatar_url":"https://avatars.githubusercontent.com/u/308646?v=3","gravatar_id":"","url":"https://api.github.com/users/kpturner","html_url":"https://github.com/kpturner","followers_url":"https://api.github.com/users/kpturner/followers","following_url":"https://api.github.com/users/kpturner/following{/other_user}","gists_url":"https://api.github.com/users/kpturner/gists{/gist_id}","starred_url":"https://api.github.com/users/kpturner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kpturner/subscriptions","organizations_url":"https://api.github.com/users/kpturner/orgs","repos_url":"https://api.github.com/users/kpturner/repos","events_url":"https://api.github.com/users/kpturner/events{/privacy}","received_events_url":"https://api.github.com/users/kpturner/received_events","type":"User","site_admin":false},"created_at":"2016-03-25T12:13:08Z","updated_at":"2016-03-25T12:13:08Z","body":"But the outq is supposed to be permanent for as long as the application is running.  I don't want to create new one - I simply want to attach to one that already exists (or create it if it doesn't exist).  I don't ever want to detach from it because I don't want it to disappear until/unless the application stops running.   That said, perhaps it should not be a local variable?"}}