{"action":"created","issue":{"url":"https://api.github.com/repos/RuntimeTools/appmetrics/issues/294","repository_url":"https://api.github.com/repos/RuntimeTools/appmetrics","labels_url":"https://api.github.com/repos/RuntimeTools/appmetrics/issues/294/labels{/name}","comments_url":"https://api.github.com/repos/RuntimeTools/appmetrics/issues/294/comments","events_url":"https://api.github.com/repos/RuntimeTools/appmetrics/issues/294/events","html_url":"https://github.com/RuntimeTools/appmetrics/issues/294","id":178107826,"number":294,"title":"memory numbers from app metrics.","user":{"login":"D0LLAR","id":7533016,"avatar_url":"https://avatars.githubusercontent.com/u/7533016?v=3","gravatar_id":"","url":"https://api.github.com/users/D0LLAR","html_url":"https://github.com/D0LLAR","followers_url":"https://api.github.com/users/D0LLAR/followers","following_url":"https://api.github.com/users/D0LLAR/following{/other_user}","gists_url":"https://api.github.com/users/D0LLAR/gists{/gist_id}","starred_url":"https://api.github.com/users/D0LLAR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/D0LLAR/subscriptions","organizations_url":"https://api.github.com/users/D0LLAR/orgs","repos_url":"https://api.github.com/users/D0LLAR/repos","events_url":"https://api.github.com/users/D0LLAR/events{/privacy}","received_events_url":"https://api.github.com/users/D0LLAR/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-20T16:20:19Z","updated_at":"2016-09-29T07:16:56Z","closed_at":null,"body":"Numbers I'm seeing back from using app metrics dont  resemble those from either nmon,BM own memory monitoring  nor against internal monitoring of the processes own heap..\r\n\r\nvar heapTotalMB = process.memoryUsage().heapTotal / 1048576;\r\n  var heapUsedMB = process.memoryUsage().heapUsed / 1048576;\r\nfile grab attached of what Im see with appmetrics from the eclipse side..\r\n similar timed logging using the process.memoryUsage()  from inside the node app below\r\n\r\n\r\n{\"name\":\"tispAPI\",\"hostname\":\"b522c5a9c7f9\",\"pid\":81,\"level\":30,\"msg\":\"running in the heap monitor\",\"time\":\"2016-09-14T14:51:53.044Z\",\"src\":{\"file\":\"/root/api/lib/heapmonitoring_tis_perf.js\",\"line\":139},\"v\":0}\r\n{\"name\":\"tispAPI\",\"hostname\":\"b522c5a9c7f9\",\"pid\":81,\"level\":30,\"rssMB\":194.8828125,\"heapTotalMB\":86.79403686523438,\"heapUsedMB\":78.61526489257812,\"heapIncreased\":true,\"iterator\":0,\"previousRSSLength\":0,\"date\":1473864781508,\"msg\":\"monitorMemory\",\"time\":\"2016-09-14T14:53:01.509Z\",\"src\":{\"file\":\"/root/api/lib/heapmonitoring_tis_perf.js\",\"line\":124,\"func\":\"monitorMemory\"},\"v\":0}\r\n1st minute here....\r\n{\"name\":\"tispAPI\",\"hostname\":\"b522c5a9c7f9\",\"pid\":81,\"level\":30,\"rssMB\":195.13671875,\"heapTotalMB\":86.79403686523438,\"heapUsedMB\":78.72457122802734,\"heapIncreased\":false,\"iterator\":0,\"previousRSSLength\":1,\"date\":1473864811514,\"msg\":\"monitorMemory\",\"time\":\"2016-09-14T14:53:31.515Z\",\"src\":{\"file\":\"/root/api/lib/heapmonitoring_tis_perf.js\",\"line\":124,\"func\":\"monitorMemory\"},\"v\":0}\r\n\r\n{\"name\":\"tispAPI\",\"hostname\":\"b522c5a9c7f9\",\"pid\":81,\"level\":30,\"rssMB\":195.80078125,\"heapTotalMB\":86.79403686523438,\"heapUsedMB\":79.82312774658203,\"heapIncreased\":false,\"iterator\":0,\"previousRSSLength\":1,\"date\":1473864841521,\"msg\":\"monitorMemory\",\"time\":\"2016-09-14T14:54:01.521Z\",\"src\":{\"file\":\"/root/api/lib/heapmonitoring_tis_perf.js\",\"line\":124,\"func\":\"monitorMemory\"},\"v\":0}\r\n{\"name\":\"tispAPI\",\"hostname\":\"b522c5a9c7f9\",\"pid\":81,\"level\":30,\"rssMB\":223.51171875,\"heapTotalMB\":116.27914428710938,\"heapUsedMB\":99.37559509277344,\"heapIncreased\":true,\"iterator\":1,\"previousRSSLength\":1,\"date\":1473864871522,\"msg\":\"monitorMemory\",\"time\":\"2016-09-14T14:54:31.522Z\",\"src\":{\"file\":\"/root/api/lib/heapmonitoring_tis_perf.js\",\"line\":124,\"func\":\"monitorMemory\"},\"v\":0}\r\n{\"name\":\"tispAPI\",\"hostname\":\"b522c5a9c7f9\",\"pid\":81,\"level\":30,\"rssMB\":261.1015625,\"heapTotalMB\":152.69198608398438,\"heapUsedMB\":126.28837585449219,\"heapIncreased\":true,\"iterator\":2,\"previousRSSLength\":2,\"date\":1473864901524,\"msg\":\"monitorMemory\",\"time\":\"2016-09-14T14:55:01.524Z\",\"src\":{\"file\":\"/root/api/lib/heapmonitoring_tis_perf.js\",\"line\":124,\"func\":\"monitorMemory\"},\"v\":0}\r\n{\"name\":\"tispAPI\",\"hostname\":\"b522c5a9c7f9\",\"pid\":81,\"level\":30,\"rssMB\":273.04296875,\"heapTotalMB\":165.47421264648438,\"heapUsedMB\":111.3638687133789,\"heapIncreased\":true,\"iterator\":3,\"previousRSSLength\":3,\"date\":1473864931528,\"msg\":\"monitorMemory\",\"time\":\"2016-09-14T14:55:31.528Z\",\"src\":{\"file\":\"/root/api/lib/heapmonitoring_tis_perf.js\",\"line\":124,\"func\":\"monitorMemory\"},\"v\":0}\r\n{\"name\":\"tispAPI\",\"hostname\":\"b522c5a9c7f9\",\"pid\":81,\"level\":30,\"rssMB\":244.68359375,\"heapTotalMB\":136.01913452148438,\"heapUsedMB\":91.69914245605469,\"heapIncreased\":false,\"iterator\":2,\"previousRSSLength\":4,\"date\":1473864961532,\"msg\":\"monitorMemory\",\"time\":\"2016-09-14T14:56:01.533Z\",\"src\":{\"file\":\"/root/api/lib/heapmonitoring_tis_perf.js\",\"line\":124,\"func\":\"monitorMemory\"},\"v\":0}\r\n{\"name\":\"tispAPI\",\"hostname\":\"b522c5a9c7f9\",\"pid\":81,\"level\":30,\"rssMB\":267.71875,\"heapTotalMB\":159.62680053710938,\"heapUsedMB\":116.27596282958984,\"heapIncreased\":true,\"iterator\":1,\"previousRSSLength\":1,\"date\":1473864991536,\"msg\":\"monitorMemory\",\"time\":\"2016-09-14T14:56:31.536Z\",\"src\":{\"file\":\"/root/api/lib/heapmonitoring_tis_perf.js\",\"line\":124,\"func\":\"monitorMemory\"},\"v\":0}\r\n\r\n\r\n![screenhunter_46 sep 15 14 19](https://cloud.githubusercontent.com/assets/7533016/18678899/79780a2e-7f55-11e6-954e-87a1c3139a10.gif)\r\n"},"comment":{"url":"https://api.github.com/repos/RuntimeTools/appmetrics/issues/comments/250389486","html_url":"https://github.com/RuntimeTools/appmetrics/issues/294#issuecomment-250389486","issue_url":"https://api.github.com/repos/RuntimeTools/appmetrics/issues/294","id":250389486,"user":{"login":"tobespc","id":13151286,"avatar_url":"https://avatars.githubusercontent.com/u/13151286?v=3","gravatar_id":"","url":"https://api.github.com/users/tobespc","html_url":"https://github.com/tobespc","followers_url":"https://api.github.com/users/tobespc/followers","following_url":"https://api.github.com/users/tobespc/following{/other_user}","gists_url":"https://api.github.com/users/tobespc/gists{/gist_id}","starred_url":"https://api.github.com/users/tobespc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobespc/subscriptions","organizations_url":"https://api.github.com/users/tobespc/orgs","repos_url":"https://api.github.com/users/tobespc/repos","events_url":"https://api.github.com/users/tobespc/events{/privacy}","received_events_url":"https://api.github.com/users/tobespc/received_events","type":"User","site_admin":false},"created_at":"2016-09-29T07:16:55Z","updated_at":"2016-09-29T07:16:55Z","body":"@D0LLAR We will take a look and send an update later"}}
{"actor":{"display_login":"tobespc"}}