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. Anthony Akpan Anthony Akpan Developer with 8 years of experience building softwares fro startups Nam Tran Nam Tran 10 years as fullstack developer Rudra Bhikadiya Rudra Bhikadiya I build and fix web apps across Next.js, Node.js, and DBs. Comfortable jumping into messy code, broken APIs, and mysterious bugs. If your project works in theory but not in reality, I help close that gap. Jen Jacobsen Jen Jacobsen I’m a Full-Stack Developer with over 10 years of experience building modern web and mobile applications. I enjoy working across the full product lifecycle — turning ideas into real, well-built products that are intuitive for users and scalable for businesses. I particularly enjoy building mobile apps, modern web platforms, and solving complex technical problems in a way that keeps systems clean, reliable, and easy to maintain. Alvin Voo Alvin Voo I’ve watched the tech landscape evolve over the last decade—from the structured days of Java Server Pages to the current "wild west" of Agentic-driven development. While AI can "vibe" a frontend into existence, I specialize in the architecture that keeps it from collapsing. My expertise lies in the critical backend infrastructure: the parts that must be fast, secure, and scalable. I thrive on high-pressure environments, such as when I had only three weeks to architect and launch an Ethereum redemption system with minimal prior crypto knowledge, turning it into a major revenue stream. What I bring to your project: Forensic Debugging: I don't just "patch" bugs; I use tools like Datadog and Explain Analyzers to map out bottlenecks and resolve root causes—like significantly reducing memory usage by optimizing complex DB joins. Full-Stack Context: Deep experience in Node.js and React, ensuring backends play perfectly with mobile and web teams. Sanity in the Age of AI: I bridge the gap between "best practices" and modern speed, ensuring your project isn't just built fast, but built to last. 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 Simon A. Simon A. I'm a backend developer building APIs, emulators, and interactive game systems. Professionally, I've developed Java/Spring reporting solutions, managed relational and NoSQL databases, and implemented CI/CD workflows. Basel Issmail Basel Issmail ’m a Senior Full-Stack Developer and Tech Lead with experience designing and building scalable web platforms. I work across the full development lifecycle, from translating business requirements into technical architecture to delivering reliable production systems. My work focuses on modern web technologies, including TypeScript, Angular, Node.js, and cloud-based architectures. I enjoy solving complex technical problems and helping teams turn product ideas and prototypes into working platforms that can grow and scale. In addition to development, I often collaborate closely with product managers, business analysts, designers, and QA teams to ensure that solutions align with both technical and business goals. I enjoy working with startups and product teams where I can contribute both as a hands-on engineer and as a technical partner in designing and delivering impactful software.

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