# package_too_large

> The uncompressed tar, headers included, exceeds 64 MiB.

The uncompressed tar, headers included, exceeds 64 MiB.

| | |
| --- | --- |
| Kind | Build or validation problem |
| Reported by | Archive validation (registry, room hosts, disko publish) |
| `disko` exit code | 1 (problems) |

The uncompressed tar inside the archive, including its 512-byte headers and
padding, is larger than 64 MiB. Decompression stops as soon as the limit is
passed.

## Why it happens

The archive is checked while it is decompressed: by `disko publish` on its own
output, by the registry on upload, and by room hosts before loading. A project
can stay under the 10 MiB compressed limit and still exceed 64 MiB
uncompressed when its files compress very well.

## Wrong

```text
art/level1.wav    16,000,000 bytes
art/level2.wav    16,000,000 bytes
art/level3.wav    16,000,000 bytes
art/level4.wav    16,000,000 bytes
art/level5.wav    16,000,000 bytes
```

## Right

```text
art/level1.ogg     1,200,000 bytes
art/level2.ogg     1,200,000 bytes
art/level3.ogg     1,200,000 bytes
art/level4.ogg     1,200,000 bytes
art/level5.ogg     1,200,000 bytes
```

Shrink or remove assets, update their imports, and run
`disko publish --dry-run` again.

## See also

- [Assets](/games/assets)
- [`archive_too_large`](/errors/archive_too_large)
