docpad version = 6.21.10
node version = v0.8.18
npm version = 1.2.7
What i did:
I have a website with many languages, which i am migrating to docpad.
First i tried to generate for 2 languages, all was generated fine.
Then i copied the rest of the languages folders to the documents directory and tried to generate again.
I actually hit the nodejs memory limit:
"FATAL ERROR: CALL_AND_RETRY_2 Allocation failed - process out of memory"
no files were created in the out directory.
Want to back this issue? Place a bounty on it! We accept bounties via Bountysource.
I used a few partials in my layouts, after removing the partials, docpad managed to generate all the files.
So the issue is having partials and lots of documents...
Researching static site generators and noticed this issue. Out of curiosity @segalr3, would you happen to remember how many was a lot? Hundreds, thousands or millions?
I'm not seeing any limitations or guidelines related to this mentioned in the docs.
Hey Gang, @dorajistyle just posted this as example of handling many files with DocPad:
(in this pull-req: docpad/documentation#147)
Check it out, hope it helps.
I sent pull request to jekyll-import but not merged yet.
You can download importer 'blogger_docpad.rb' below:
This is good info, but I'll be needing thousands of pages. Maybe add a limitations section in the docs with this info? This is a pretty big one IMO.
The raw plugin solves this if most of your files are static files. However, if they are documents, it gets more interesting.
Moving the discussion here: https://discuss.bevry.me/t/docpad-is-slow-for-large-websites/47