Reputation: 93
I have a large JSON file (700MB), it's a search engine index.
the problem is when I run the start script it stays at the compile stage forever. and I tried to build the whole project but it responds with
out of memory (by the way, I give it more than 20 GB, and still the same)
all I want to do is to import this file earlier ( unfortunately all features based on this file )
Upvotes: 0
Views: 1756
Reputation: 874
You will need to reevaluate and re-engineer your architecture and how you handle the data. The prevelant approach is to have a server with an endpoint providing the data. Your React app should load small in size, and get the data to work with from the endpoint.
Upvotes: 3