visionmedia/express — Issue #959: Empty CSV file upload crashing NodeJS
Author: pertinky
Created: 2012-01-11 10:09:30+00:00
State: open

Express v2.5.1

Express configuration:

```
app.use(express.logger({ format: ':date :method :url :req[Accept] :req[Content-Type] :req[Content-Length]' }));
app.use(express.cookieParser());
app.use(express.bodyParser());
app.use(express.errorHandler({ dumpExceptions: true }));
```

NodeJS error:

```FATAL ERROR: JS Allocation failed - process out of memory```

What I noticed was that my HTTP request was not logged (using node-syslog) when using an empty CSV file, suggesting it does not even get as far as the express.logger middleware.