---
title: "Restrictions"
source: https://dev.pageseeder.com/guide/document_modeling/restrictions.html
description: "This document outlines PageSeeder's PSML document restrictions, including recommended limits on fragment size (800 words), document fragments (500), cross-references (3000), and file organization to optimize performance."
last_updated: 2026-08-11T16:33:38+10:00
tokens: ~281
---

# Restrictions

The following table describes some restrictions on PSML document size and content when working with them inside PageSeeder. There are no hard limits—some are configurable and others are recommendations. However, going beyond these limits might cause performance issues in processing and viewing documents.

| Restriction | Maximum    | Type |
| --- | --- | --- |
| Size of each [fragment](/reference/glossary/fragment.md) | 800 words | Recommended |
| Number of fragments in a document | 500 | Recommended |
| Number of [cross-references](/reference/glossary/cross_reference.md) in a document | 3000 | Configurable through [maxForwardXRefs](/guide/configuration/properties/global_properties.md) |
| Number of [reverse cross-references](/reference/glossary/reverse_xref.md) in a document | 1000 | Configurable through [maxReverseXRefs](/guide/configuration/properties/global_properties.md) |
| Size of a PSML document | 200 K | Recommended |
| Number of documents (files) in a folder | 1000 | Recommended |
| Number of [publications](/reference/glossary/publications.md) in a server | 1000 | Recommended |

