<p></p>
<p dir="auto">Hello,<br>
I'm trying to deploy nominatim on AWS but I keep getting this error</p>
<pre class="notranslate"><code class="notranslate">Defaulted container "nominatim" out of: nominatim, wait-for-db (init), download-pbf (init)
2024-01-10 15:42:28: Using project directory: /nominatim
2024-01-10 15:42:29: Creating database
2024-01-10 15:42:30: Setting up country tables
2024-01-10 15:42:32: Importing OSM data file
2024-01-10 15:42:32  osm2pgsql version 1.9.2
2024-01-10 15:42:32  Database version: 15.2
2024-01-10 15:42:32  PostGIS version: 3.3
2024-01-10 15:42:32  Storing properties to table '"public"."osm2pgsql_properties"'.
2024-01-10 17:32:40  Reading input files done in 6608s (1h 50m 8s).                       
2024-01-10 17:32:40    Processed 1821108675 nodes in 719s (11m 59s) - 2533k/s
2024-01-10 17:32:40    Processed 162164552 ways in 4778s (1h 19m 38s) - 34k/s
2024-01-10 17:32:40    Processed 1692584 relations in 1111s (18m 31s) - 2k/s
2024-01-10 17:32:40  No marked ways (Skipping stage 2).
2024-01-10 17:32:40  Clustering table 'place' by geometry...
2024-01-10 17:33:21  Done postprocessing on table 'planet_osm_nodes' in 0s
2024-01-10 17:33:21  Building index on table 'planet_osm_ways'
2024-01-10 17:51:12  Building index on table 'planet_osm_rels'
Traceback (most recent call last):
  File "/usr/local/bin/nominatim", line 12, in <module>
    exit(cli.nominatim(module_dir='/usr/local/lib/nominatim/module',
  File "/usr/local/lib/nominatim/lib-python/nominatim/cli.py", line 225, in nominatim
    return get_set_parser().run(**kwargs)
  File "/usr/local/lib/nominatim/lib-python/nominatim/cli.py", line 121, in run
    return args.command.run(args)
  File "/usr/local/lib/nominatim/lib-python/nominatim/clicmd/setup.py", line 94, in run
    database_import.import_osm_data(files,
  File "/usr/local/lib/nominatim/lib-python/nominatim/tools/database_import.py", line 113, in import_osm_data
    run_osm2pgsql(options)
  File "/usr/local/lib/nominatim/lib-python/nominatim/tools/exec_utils.py", line 76, in run_osm2pgsql
    subprocess.run(cmd, cwd=options.get('cwd', '.'),
  File "/usr/lib/python3.10/subprocess.py", line 526, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/usr/local/lib/nominatim/osm2pgsql', '--hstore', '--latlon', '--slim', '--log-progress', 'true', '--number-processes', '1', '--cache', '0', '--style', '/usr/local/etc/nominatim/import-full.lua', '--output', 'flex', '--create', '--flat-nodes', '/nominatim/flatnode/flatnode.file', 'data.osm.pbf']' died with <Signals.SIGSEGV: 11>.
</code></pre>
<p dir="auto">I'm reserving a 60GB RAM and 5 vCPU for the pod, and my database is in RDS with 2GB of RAM and 500GB of disk space.<br>
How can I fix this?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/osm2pgsql-dev/osm2pgsql/issues/2119">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353RE4ZLVFOTDHOWWN3TYN6YFFAVCNFSM6AAAAABBWF3EJ6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGA3TMMJXGA2DEOI">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AA6353QK57HXZCHYLWUS4T3YN6YFFA5CNFSM6AAAAABBWF3EJ6WGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHHXP6YXU.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><osm2pgsql-dev/osm2pgsql/issues/2119</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/osm2pgsql-dev/osm2pgsql/issues/2119",
"url": "https://github.com/osm2pgsql-dev/osm2pgsql/issues/2119",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>