Baselines for Confluence utilizes the export library of Confluence. This library may have issues exporting large number of pages at once. The exact number depends on your server capacity and memory settings but is usually over several thousand issues.
As a workaround you can create additional baselines (that have the same Baseline Date as your original baseline) that include a subset of pages and export them individually.