Error 'Client-Side timeout exceeded for operation. Inspect network conditions or increase the timeout'

@brett19 In the following code , As you can see bigArray is an array with 1million uuidv4 , It just used RAM
As you can see for loop is before openning connection , Why upsert fails with Client-Side timeout exceeded for operation. Inspect network conditions or increase the timeout

If I remove bigArray or fill it with 1K instead of 1M , upserting works . I have free memory for even 10M array item

const couchbase = require('couchbase');
const uuidv4 = require('uuid/v4');

const bigArray= [];
for (i = 0; i < 1000000; i++) {
  bigArray.push(uuidv4());
}


const cluster = new couchbase.Cluster('couchbase://localhost');
const bucket = cluster.openBucket('test');
bucket.upsert('test', {"test":1}, function (err) {
  if (err) {
    throw err;
  }
  console.log('Done');
});

@brett19 can you help me?

Up and up … …

Hey @socketman2016,

I am looking into this issue, but I suspect that it’s challenging to reproduce due to different system environments. Can you tell me a little bit more about the environment your server and application are operating in?

Cheers, Brett

OK, I am using nodejs 10, in centos 7
In my first post , I send an script that reproduce issue , it has uuid and couchbase as dependency

Let me known if you need more details

@brett19 Do you found issue?