title: raster2pgsql: "Could not allocate memory for INSERT statement"
body: <p>I'm very new to raster2pgsql so please bear with me. I'm trying to load a 60mb .tif (from the High-Resolution Settlements Layer project) to my postgis-enabled database with the following code:</p>
  <blockquote>
  <p>raster2pgsql -s 5235 -C -F [path to the .tif] public.hrsl_lka | psql
  -h localhost -U postgres -p 5432 -d project</p>
  </blockquote>
  <p>However, I get the following error:</p>
  <blockquote>
  <p>ERROR: insert_records: Could not allocate memory for INSERT statement
  ERROR: process_rasters: Could not convert raster tiles into INSERT or
  COPY statements ERROR: Unable to process rasters</p>
  </blockquote>
  <p>Loading smaller .tifs of around 3mb to the same database but from other sources works fine, however.</p>
  <p>Is there a size limit with raster2pgsql? I'm on PostgreSQL 12.4.</p>
  <p>With many thanks,
  Gregor</p>