<p>As far as memory goes, the largest trace we have seems to have about fifteen million points, which raises a few issues - both memory as you say but also the size of the SQL if they are all inserted in one go!</p>
<p>Maybe we should do them in batches of a thousand or something?</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2131#issuecomment-461140860">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABWnLVXdrrDTZq4-74-ao_YD-_5al5b1ks5vKyO2gaJpZM4ak4vv">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABWnLfVqYhAWB6uFdm_j1gZiEbiOnr_Uks5vKyO2gaJpZM4ak4vv.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/openstreetmap/openstreetmap-website","title":"openstreetmap/openstreetmap-website","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/openstreetmap/openstreetmap-website"}},"updates":{"snippets":[{"icon":"PERSON","message":"@tomhughes in #2131: As far as memory goes, the largest trace we have seems to have about fifteen million points, which raises a few issues - both memory as you say but also the size of the SQL if they are all inserted in one go!\r\n\r\nMaybe we should do them in batches of a thousand or something?"}],"action":{"name":"View Pull Request","url":"https://github.com/openstreetmap/openstreetmap-website/pull/2131#issuecomment-461140860"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/2131#issuecomment-461140860",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/2131#issuecomment-461140860",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>