So you try to make a Garmin map from the entire planet file? That won’t work afaik. The amount of data is just too huge. Better use a tool to extract a portion of the planet file and work with that.

Some tools to create maps are in the outputs category in the wiki.

Another option is to load the planet.osm file into a local database…