I have a 7GB GeoJson file that I would like to load into a PostGIS database. I have tried using ogr2ogr but it fails because the file is too big for ogr2ogr to load into memory and then process.
Are there any other alternatives for loading this geojson file into PostGIS? You can download a working sample Mexico file using the link, which has just 11 features in it (as opposed to the 7GB whole USA file): http://4shared.com/file/scrdV3VU/places_mx.html
The ogr2ogr error I get is:
ERROR 2: CPLMalloc(): Out of memory allocating -611145182 bytes. This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.