{"action":"created","issue":{"url":"https://api.github.com/repos/espressif/esp-idf/issues/1934","repository_url":"https://api.github.com/repos/espressif/esp-idf","labels_url":"https://api.github.com/repos/espressif/esp-idf/issues/1934/labels{/name}","comments_url":"https://api.github.com/repos/espressif/esp-idf/issues/1934/comments","events_url":"https://api.github.com/repos/espressif/esp-idf/issues/1934/events","html_url":"https://github.com/espressif/esp-idf/issues/1934","id":320744918,"number":1934,"title":"[Question]: Internal RAM 520, allowed for allocation 301KiB ? missing 219?","user":{"login":"farizadp","id":31064074,"avatar_url":"https://avatars0.githubusercontent.com/u/31064074?v=4","gravatar_id":"","url":"https://api.github.com/users/farizadp","html_url":"https://github.com/farizadp","followers_url":"https://api.github.com/users/farizadp/followers","following_url":"https://api.github.com/users/farizadp/following{/other_user}","gists_url":"https://api.github.com/users/farizadp/gists{/gist_id}","starred_url":"https://api.github.com/users/farizadp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/farizadp/subscriptions","organizations_url":"https://api.github.com/users/farizadp/orgs","repos_url":"https://api.github.com/users/farizadp/repos","events_url":"https://api.github.com/users/farizadp/events{/privacy}","received_events_url":"https://api.github.com/users/farizadp/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-05-07T09:57:25Z","updated_at":"2018-05-15T11:48:34Z","closed_at":"2018-05-14T07:55:27Z","author_association":"NONE","body":"Hello,\r\n\r\nCan anyone explain where the rest of 219KiB of internal RAM is used? Below is the early print of the firmware.\r\n\r\nesp-idf sdk: e676676541ff31b72818246d267b0ccc529cb0d7\r\n\r\n## Debug Logs\r\n\r\n```\r\nI (1252) heap_init: Initializing. RAM available for dynamic allocation:\r\nI (1258) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM\r\nI (1265) heap_init: At 3FFC2EB0 len 0001D150 (116 KiB): DRAM\r\nI (1271) heap_init: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM\r\nI (1277) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM\r\nI (1284) heap_init: At 400924CC len 0000DB34 (54 KiB): IRAM\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/espressif/esp-idf/issues/comments/389138443","html_url":"https://github.com/espressif/esp-idf/issues/1934#issuecomment-389138443","issue_url":"https://api.github.com/repos/espressif/esp-idf/issues/1934","id":389138443,"user":{"login":"negativekelvin","id":22392044,"avatar_url":"https://avatars1.githubusercontent.com/u/22392044?v=4","gravatar_id":"","url":"https://api.github.com/users/negativekelvin","html_url":"https://github.com/negativekelvin","followers_url":"https://api.github.com/users/negativekelvin/followers","following_url":"https://api.github.com/users/negativekelvin/following{/other_user}","gists_url":"https://api.github.com/users/negativekelvin/gists{/gist_id}","starred_url":"https://api.github.com/users/negativekelvin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/negativekelvin/subscriptions","organizations_url":"https://api.github.com/users/negativekelvin/orgs","repos_url":"https://api.github.com/users/negativekelvin/repos","events_url":"https://api.github.com/users/negativekelvin/events{/privacy}","received_events_url":"https://api.github.com/users/negativekelvin/received_events","type":"User","site_admin":false},"created_at":"2018-05-15T11:48:34Z","updated_at":"2018-05-15T11:48:34Z","author_association":"CONTRIBUTOR","body":"RTC fast ram doesn't count towards the 520K.  This is from an app where everything adds up.  Probably the outputs shown above are from two different apps.\r\n\r\n```\r\n3ffae000-3ffae6e0 - rom reserved\r\n3ffae6e0-3ffb0000 - heap dram\r\n3ffb0000-3ffb21f4 - app dram .data - esp_image: segment 1: paddr=0x00015974 vaddr=0x3ffb0000 size=0x021f4 (8692) load\r\n3ffb21f4-3ffb2a18 - app dram .bss (2084)\r\n3ffb2a18-3ffe0000 - heap dram\r\n3ffe0000-3ffe0440 - reserve rom pro\r\n3ffe0440-3ffe4000 - heap dram/iram\r\n3ffe4000-3ffe4350 - reserve rom app\r\n3ffe4350-40000000 - heap dram/iram\r\n40070000-40078000 - pro cache\r\n40078000-40080000 - app cache\r\n40080000-40080400 - app iram - esp_image: segment 2: paddr=0x00017b70 vaddr=0x40080000 size=0x00400 (1024) load\r\n40080400-40088498 - app iram - esp_image: segment 3: paddr=0x00017f78 vaddr=0x40080400 size=0x08098 (32920) load\r\n40088498-40088bd0 - app iram - esp_image: segment 5: paddr=0x00034a78 vaddr=0x40088498 size=0x00738 (1848) load\r\n40088bd0-400A0000 - heap\r\n\r\nTotal sizes:\r\n DRAM .data size:    8692 bytes\r\n DRAM .bss  size:    2080 bytes\r\nUsed static DRAM:   10772 bytes ( 169964 available, 6.0% used)\r\nUsed static IRAM:   35792 bytes (  95280 available, 27.3% used)\r\n```"}}
{"actor":{"display_login":"negativekelvin"}}