A way to create large dictionary? "ERROR: LoadError: syntax: expression too large"

The strategy suggested by ccoffrin works well for a particular parameter/dictionary. But now there is the same error:

ERROR: LoadError: LoadError: ReadOnlyMemoryError()

while loading a long file with the script, following Julia crush. Is it an issue with long .jl files in general? Any ways to allocate more memory for the operation?

Here is the data.jl file itself.