The documentation for MAX_EXPORT_SIZE and UC_SYSTEM_SETTINGS state that the maximum size of XML files is 30702 bytes. This should probably be 30720 (30 × 210).
The documentation for IMPORT and Importing and Exporting Code Chunks mention the correct value 30720.
Ping @Gabi Oberreiter.
The documentation is still incorrect.