$OpenBSD: patch-options_cpp,v 1.1.1.1 2015/10/30 17:18:53 landry Exp $

Set the default cache size to 100M

--- options.cpp.orig	Fri Oct 30 10:02:24 2015
+++ options.cpp	Fri Oct 30 10:03:29 2015
@@ -98,7 +98,7 @@ namespace
         printf("\
                         %s/default.style.\n", OSM2PGSQL_DATADIR);
         printf("%s", "\
-       -C|--cache       Use up to this many MB for caching nodes (default: 800)\n\
+       -C|--cache       Use up to this many MB for caching nodes (default: 100)\n\
     \n\
     Database options:\n\
        -d|--database    The name of the PostgreSQL database to connect\n\
@@ -261,7 +261,7 @@ std::string build_conninfo(const std::string &db,
 
 options_t::options_t():
     conninfo(""), prefix("planet_osm"), scale(DEFAULT_SCALE), projection(new reprojection(PROJ_SPHERE_MERC)), append(0), slim(0),
-    cache(800), tblsmain_index(boost::none), tblsslim_index(boost::none), tblsmain_data(boost::none), tblsslim_data(boost::none), style(OSM2PGSQL_DATADIR "/default.style"),
+    cache(100), tblsmain_index(boost::none), tblsslim_index(boost::none), tblsmain_data(boost::none), tblsslim_data(boost::none), style(OSM2PGSQL_DATADIR "/default.style"),
     expire_tiles_zoom(-1), expire_tiles_zoom_min(-1), expire_tiles_filename("dirty_tiles"), hstore_mode(HSTORE_NONE), enable_hstore_index(0),
     enable_multi(false), hstore_columns(), keep_coastlines(0), parallel_indexing(1),
     #ifdef __amd64__
