Is there any size limit for content "yaml" file

1,374 views
Skip to first unread message

Madhur Singh

unread,
Jun 26, 2018, 8:19:30 AM6/26/18
to Hippo Community
Hi All,

Is there any size limit for yaml file present in this directory e.g.  repository-data/application/src/main/resources/hcm-content/content/documents/(projectName)/filename.yaml

Peter Centgraf

unread,
Jul 3, 2018, 8:19:41 AM7/3/18
to Hippo Community
You will start to have practical problems with deployment as you get into the hundreds-of-megabytes range, since the file must be loaded into memory, parsed, and then maintained temporarily in an object model. An extremely large file can also be awkward for development, since it needs to be bootstrapped again each time you start a clean repository. If you keep throwing RAM at the problem, you'll also eventually hit the ZIP file size limit of 4gb when you attempt to package the file into a jar for deployment.

If you're trying to load that much data via bootstrapping, you should probably stop and look for a dedicated data import tool, like the EXIM project. Reasonably large sets of sample data should be fine. Keep in mind that binary images etc. will be in separate resource files, so you'd need to have quite a lot of raw YAML text to have a problem.

Reply all
Reply to author
Forward
0 new messages