{"action":"created","issue":{"url":"https://api.github.com/repos/esp8266/Arduino/issues/1246","labels_url":"https://api.github.com/repos/esp8266/Arduino/issues/1246/labels{/name}","comments_url":"https://api.github.com/repos/esp8266/Arduino/issues/1246/comments","events_url":"https://api.github.com/repos/esp8266/Arduino/issues/1246/events","html_url":"https://github.com/esp8266/Arduino/issues/1246","id":122900191,"number":1246,"title":"significant increase flash usage (~18k) after update sdk to 1.5","user":{"login":"reaper7","id":4134851,"avatar_url":"https://avatars.githubusercontent.com/u/4134851?v=3","gravatar_id":"","url":"https://api.github.com/users/reaper7","html_url":"https://github.com/reaper7","followers_url":"https://api.github.com/users/reaper7/followers","following_url":"https://api.github.com/users/reaper7/following{/other_user}","gists_url":"https://api.github.com/users/reaper7/gists{/gist_id}","starred_url":"https://api.github.com/users/reaper7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reaper7/subscriptions","organizations_url":"https://api.github.com/users/reaper7/orgs","repos_url":"https://api.github.com/users/reaper7/repos","events_url":"https://api.github.com/users/reaper7/events{/privacy}","received_events_url":"https://api.github.com/users/reaper7/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-18T07:56:18Z","updated_at":"2015-12-20T10:24:29Z","closed_at":null,"body":"I noticed, that after changes sdk to 1.5\r\n(examples compiled on esp8266 Arduino github version for day 17.12.2015 VS  18.12.2015 with new 1.5 SDK)\r\nflash usage increase ~18k but reducing RAM is only ~1.3-1.4k\r\n\r\nExamples from core libs:\r\nArduinoOTA->BasicOTA (old/new) from 222186 to 240868 (RAM 34348 to 33072) \r\nESP8266WebServer->HelloServer (old/new) from 228758 to 247050 (RAM 37712 to 36304) \r\n\r\nOther examples:\r\nWifiManager->AutoConnect (old/new) from 235826 to 254188 (RAM 37724 to 36344) \r\n\r\nMy example (uart camera + WifiManager + ArduinoOTA)\r\n(old/new) from 245966 to 264604 (RAM 41136 to 39784) \r\n\r\nThis increase of flash usage is related to sdk or maybe some compilator options?\r\n\r\nYesterday I was happy that all my sketches fits to 512k ESP version via OTA but with new SDK it is no longer possible :( \r\n"},"comment":{"url":"https://api.github.com/repos/esp8266/Arduino/issues/comments/166106247","html_url":"https://github.com/esp8266/Arduino/issues/1246#issuecomment-166106247","issue_url":"https://api.github.com/repos/esp8266/Arduino/issues/1246","id":166106247,"user":{"login":"igrr","id":4349050,"avatar_url":"https://avatars.githubusercontent.com/u/4349050?v=3","gravatar_id":"","url":"https://api.github.com/users/igrr","html_url":"https://github.com/igrr","followers_url":"https://api.github.com/users/igrr/followers","following_url":"https://api.github.com/users/igrr/following{/other_user}","gists_url":"https://api.github.com/users/igrr/gists{/gist_id}","starred_url":"https://api.github.com/users/igrr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igrr/subscriptions","organizations_url":"https://api.github.com/users/igrr/orgs","repos_url":"https://api.github.com/users/igrr/repos","events_url":"https://api.github.com/users/igrr/events{/privacy}","received_events_url":"https://api.github.com/users/igrr/received_events","type":"User","site_admin":false},"created_at":"2015-12-20T10:24:29Z","updated_at":"2015-12-20T10:24:29Z","body":"Okay, so my test missed the fact that only global symbols are listed in `nm` output. Local (static) symbols are not visible in the final executable but they still add up to sketch size.\r\nI'm not sure what we can do to reduce final code size in this case."}}