Docker Desktop: 'recording.tar.zst' file too large and 'Java heap for Solr' file too small

Problems, numerous computer restarts during indexing.

These are the following sizes: 48GB and 2GB, respectively.
Computer overheating, screensavers…

You need to:

  1. Disable hibernation, sleep, and screensaver.
  2. Switch to the “Power Saving” power plan to prevent the CPU from maxing out.

I had to download the “recording” package using this command:

docker compose exec indexer python3 -m sir reindex --entity-type recording

Now I have a SLIM database like this (in progress):

PS C:\Users\Piotr\musicbrainz-docker> docker compose exec search curl -s "http://localhost:8983/solr/admin/cores?action=STATUS&wt=json" | ConvertFrom-Json | ForEach-Object { $_.status.PSObject.Properties } | Select-Object Name, @{N="NumDocs"; E={$_.Value.index.numDocs}}

Name                             NumDocs
----                             -------
annotation_shard1_replica_n1     1194979
area_shard1_replica_n1            119906
artist_shard1_replica_n1         2870084
cdstub_shard1_replica_n1          272096
editor_shard1_replica_n1               0
event_shard1_replica_n1           116745
instrument_shard1_replica_n1        1056
label_shard1_replica_n1           336827
place_shard1_replica_n1            80141
recording_shard1_replica_n6      2989500
recording_shard2_replica_n2      2988219
recording_shard3_replica_n1      2988527
recording_shard4_replica_n4      2991973
release-group_shard1_replica_n1  4290639
release_shard1_replica_n1        5491334
series_shard1_replica_n1           35711
tag_shard1_replica_n1             230290
url_shard1_replica_n1           19211035
work_shard1_replica_n1           2731113

Almost in line with official statistics:

https://musicbrainz.org/statistics