Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

84
Views
How to partially initialize an array with huge load of data from API response

I use Axios to get a response from an endpoint and then I input that response into a variable in the form of an object. The response I get from the server has more than 10000 data.

My question is :

  1. How to process the data so it doesn't take up memory and can insert it into a table?
  2. Is there a request handler that can process that response better?
  3. Or is there a method to partially download the response so that it can be partially consumed by the user from the frontend?
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

There are many things to look at here:

  1. Every site has a memory limit ( Assigned by the browsers ) and the site crashes if the memory exceeds.
  2. The short and ugly fix would be... taking all those and storing only some part of it (Ugly fix).
  3. The right and correct fix would be making a kind of pagination and limiting the number of data per request. in this case, You'll have proper data and a good user experience with the help of Tabs/pages with limited scroll. And most important, the site's memory will be optimized.
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!