Base44 storage

CSV Data Export Timing Out on Large Tables

When users try to export data as CSV from your Base44 app, the export hangs, times out, or produces an incomplete file with only some of the records. Small tables export fine, but any table with more than a few thousand rows fails consistently.

Data export is essential for reporting, backups, accounting, and compliance. When users can't get their data out of the app, they lose trust in the platform and may need to manually copy records, which is error-prone and time-consuming.

The timeout typically happens because the export tries to load all records into memory at once, serialize them, and send them in a single HTTP response. For large tables, this exceeds memory limits or connection timeouts.

Error Messages You Might See

Export request timed out CSV file is incomplete: expected 5000 rows, got 1200 Out of memory during export 504 Gateway Timeout Download failed: network error
Export request timed outCSV file is incomplete: expected 5000 rows, got 1200Out of memory during export504 Gateway TimeoutDownload failed: network error

Common Causes

  • Loading all records into memory — The export function fetches all rows at once instead of streaming or paginating
  • HTTP timeout exceeded — The server or proxy has a 30-60 second timeout and large exports take longer
  • No streaming response — The entire CSV is built in memory before sending, instead of streaming rows as they're processed
  • Related data lookups per row — Each row triggers additional database queries for related fields, causing N+1 performance
  • Large text fields — Records contain very long text fields or base64-encoded files that bloat the CSV size

How to Fix It

  1. Implement paginated export — Fetch and write records in batches of 500-1000, streaming the CSV output instead of building it all in memory
  2. Use background export — For tables over 5000 rows, generate the CSV in a background job and email the download link to the user
  3. Exclude large fields — Give users the option to select which columns to export, excluding large text or binary fields
  4. Increase timeout for exports — Set a longer timeout (5 minutes) specifically for export endpoints
  5. Add progress indication — Show users a progress bar or status updates during long exports so they know it's working

Real developers can help you.

Bastien Labelle Bastien Labelle Full stack dev w/ 20+ years of experience Stanislav Prigodich Stanislav Prigodich 15+ years building iOS and web apps at startups and enterprise companies. I want to use that experience to help builders ship real products - when something breaks, I'm here to fix it. Matt Butler Matt Butler Software Engineer @ AWS Omar Faruk Omar Faruk As a Product Engineer at Klasio, I contributed to end-to-end product development, focusing on scalability, performance, and user experience. My work spanned building and refining core features, developing dynamic website templates, integrating secure and reliable payment gateways, and optimizing the overall system architecture. I played a key role in creating a scalable and maintainable platform to support educators and learners globally. I'm enthusiastic about embracing new challenges and making meaningful contributions. legrab legrab I'll fill this later Anthony Akpan Anthony Akpan Developer with 8 years of experience building softwares fro startups Jacek Rozanski Jacek Rozanski Senior PHP/Symfony developer and DevOps engineer with 20+ years of professional experience, running opcode.pl (web development agency, est. 2004). Day job: I'm the sole backend developer at merketing company where I own and maintain 11 PHP/Symfony microservices on AWS (ECS Fargate, RDS, S3, CloudFront), handle the full CI/CD pipeline (Bitbucket Pipelines, Docker), and manage monitoring with Sentry and CloudWatch. These services handle high request volumes in production every month. What I bring to AI-built apps: - I audit and fix security issues (OWASP methodology), performance bottlenecks, and architectural problems in codebases generated by Cursor, Claude Code, Lovable, Bolt, and v0 - I refactor AI-generated prototypes into production-grade applications with proper error handling, testing, and clean architecture (SOLID, DDD, hexagonal architecture) - I set up the infrastructure AI tools don't touch: AWS hosting, CI/CD pipelines, automated deployments, database optimization, monitoring, and alerting - I integrate external services: payment providers, email systems, partner APIs, SSO/auth Tech stack: PHP 8.x, Symfony, React, Next.js, PostgreSQL, MySQL, Docker, AWS (ECS, RDS, S3, SQS/SNS, CloudFront), Terraform, Supabase. I also use AI tools daily (Claude Code, Cursor) in my own workflow, so I understand both the strengths and the gaps in AI-generated code. Based in Poland (CET timezone). Available for async work and calls during EU/US business hours. Daniel Vázquez Daniel Vázquez Software Engineer with over 10 years of experience on Startups, Government, big tech industry & consulting. Sage Fulcher Sage Fulcher Hey I'm Sage! Im a Boston area software engineer who grew up in South Florida. Ive worked at a ton of cool places like a telehealth kidney care startup that took part in a billion dollar merger (Cricket health/Interwell health), a boutique design agency where I got to work on a ton of exciting startups including a photography education app, a collegiate Esports league and more (Philosophie), a data analytics as a service startup in Cambridge (MA) as well as at Phillips and MIT Lincoln Lab where I designed and developed novel network security visualizations and analytics. I've been writing code and furiously devoted to using computers to make people’s lives easier for about 17 years. My degree is in making computers make pretty lights and sounds. Outside of work I love hip hop, the Celtics, professional wrestling, magic the gathering, photography, drumming, and guitars (both making and playing them) Milan Surelia Milan Surelia Milan Surelia is a Mobile App Developer with 5+ years of experience crafting scalable, cross-platform apps at 7Span and Meticha. At 7Span, he engineers feature-rich Flutter apps with smooth performance and modern UI. As the Co-Founder of Meticha, he builds open-source tools and developer-focused products that solve real-world problems. Expertise: 💡 Developing cross-platform apps using Flutter, Dart, and Jetpack Compose for Android, iOS, and Web. 🖋️ Sharing insights through technical writing, blogging, and open-source contributions. 🤝 Collaborating closely with designers, PMs, and developers to build seamless mobile experiences. Notable Achievements: 🎯 Revamped the Vepaar app into Vepaar Store & CRM with a 2x performance boost and smoother UX. 🚀 Launched Compose101 — a Jetpack Compose starter kit to speed up Android development. 🌟 Open source contributions on Github & StackOverflow for Flutter & Dart 🎖️ Worked on improving app performance and user experience with smart solutions. Milan is always happy to connect, work on new ideas, and explore the latest in technology.

You don't need to be technical. Just describe what's wrong and a verified developer will handle the rest.

Get Help

Frequently Asked Questions

Why does my CSV export fail for large tables?

Most export functions try to load all records into memory at once. For tables with thousands of rows, this exceeds memory limits or connection timeouts. The fix is to stream records in batches or use background processing.

Can I export only specific columns from my Base44 table?

If the built-in export doesn't support column selection, create a filtered view with only the columns you need, then export from that view. This also reduces the export file size and processing time.

Related Base44 Issues

Can't fix it yourself?
Real developers can help.

You don't need to be technical. Just describe what's wrong and a verified developer will handle the rest.

Get Help