Offload multipolygon storage to disk (reduce memory usage by 10-15gb) (#141)

This commit is contained in:
Michael Barry
2022-03-22 20:34:54 -04:00
committed by GitHub
parent 6ef91a1e19
commit 699bfa6b66

View File

@@ -195,8 +195,8 @@ public class BasemapProfile extends ForwardingProfile {
@Override
public long estimateRamRequired(long osmFileSize) {
// 30gb for a 60gb OSM file is generally safe, although less might be OK too
return osmFileSize / 2;
// 20gb for a 67gb OSM file is safe, although less might be OK too
return osmFileSize * 20 / 67;
}
/**