-
Notifications
You must be signed in to change notification settings - Fork 689
Closed
Description
Hi, I made this simple node.js app:
http://pastebin.com/Ua9Q6zqj
As you can see, I load database.json file, do some alasql query on it and return that data as response.
database.json is ~50MB in size.
My problem is that this app uses 400-600MB of RAM!
I made this version too, where I open database.json file using .require, but memory consumption is same!
What am I doing wrong, I suppose it is some issue regarding the size of my JSON file? It is array of 55000 records, each one having 20 fields, if that info helps you?
Metadata
Metadata
Assignees
Labels
No labels