question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Is Gridsome able to generate large amount of pages?

See original GitHub issue

I have tried to generate 100000 pages using Gridsome. But it hang at Bootstrap finish - 103.47s for several minutes and eventually failed with JavaScript heap out of memory error. I have 16GB of RAM. The documentation says “you can build pretty large sites without any problems”.

Is there anything I am doing wrong?

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:1
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
newtonlaw18commented, Aug 31, 2019

I’m facing the same problem too. Trying to generate ~17000 pages and the build get stuck at Compile assets for more than an hour. Any help?

gs

0reactions
u12206050commented, Sep 6, 2019

No dynamic routes just means that your routes.js file won’t contain all the routes explicitly but rather in the form of an expression.

Your current route route: 'products/:slug/:article' uses :article but I can’t see that it is a field on the node, could you change it to route: 'products/:slug*' and try again?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Introduction - Gridsome
Gridsome is a Vue.js powered Jamstack framework for building static generated websites & apps that are fast by default .
Read more >
How to configure Gridsome to generate thousands of product ...
Yes. Gridsome was designed to handle exactly your situation. From gridsome.org: You can make API calls to retrieve the data:.
Read more >
What is Gridsome Static Site Generation - YouTube
In this basics of Vue.js video, I go over the basics of Gridsome, a Static Site Generator (SSG) that helps you build websites...
Read more >
Gridsome - Getting started with Static Website Generator
Gridsome is a Vue-powered static site generator for building blazing fast static websites. It is data-driven meaning it uses a GraphQL layer to ......
Read more >
How to build a fast, dynamic and content-rich website using ...
Gridsome is one such framework that incorporates the JAMstack. It is a static site generator that pre-builds HTML pages with the data source...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found