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.

Richard McSorley Richard McSorley Full-Stack Software Engineer with 8+ years building high-performance applications for enterprise clients. Shipped production systems at Walmart (4,000+ stores), Cigna (20M+ users), and Arkansas Blue Cross. 5 patents in retail/supply chain tech. Currently focused on AI integrations, automation tools, and TypeScript-first architectures. 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. Prakash Prajapati Prakash Prajapati I’m a Senior Python Developer specializing in building secure, scalable, and highly available systems. I work primarily with Python, Django, FastAPI, Docker, PostgreSQL, and modern AI tooling such as PydanticAI, focusing on clean architecture, strong design principles, and reliable DevOps practices. I enjoy solving complex engineering problems and designing systems that are maintainable, resilient, and built to scale. Taufan Taufan I’m a product-focused engineer and tech leader who builds scalable systems and turns ideas into production-ready platforms. Over the past years, I’ve worked across startups and fast-moving teams, leading backend architecture, improving system reliability, and shipping products used by thousands of users. My strength is not just writing code — but connecting product vision, technical execution, and business impact. Mehdi Ben Haddou Mehdi Ben Haddou - Founder of Chessigma (1M+ users) & many small projects - ex Founding Engineer @Uplane (YC F25) - ex Software Engineer @Amazon and @Booking.com Daniel Vázquez Daniel Vázquez Software Engineer with over 10 years of experience on Startups, Government, big tech industry & consulting. rayush33 rayush33 JavaScript (React.js, React Native, Node.js) Developer with demonstrated industry experience of 4+ years, actively looking for opportunities to hone my skills as well as help small-scale business owners with solutions to technical problems 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. Victor Denisov Victor Denisov Developer Jaime Orts-Caroff Jaime Orts-Caroff I'm a Senior Android developer, open to work in various fields

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