I have a simple query to retrieve a certain type of Documents from the bucket.
for eg : Select * from flight where type = ‘Flight’;
Bucket Document Size 2,800,000
There is a primary index on this bucket.
Below it outcome of node execution.
node --max_old_space_size=4096 flight.js
throw er; // Unhandled ‘error’ event
Error: An unknown N1QL error occured. This is usually related to an out-of-memory condition.