Н
Here's a fairly recent discussion of the issue: https://code.google.com/p/v8/issues/detail?id=847
And, here's a blog post that claims you can edit the V8 source code and rebuilt node to remove the memory limit. Try this at your own discretion.
Size: a a a
Н
D
IL
Н
D
D
D
D
б
б
ЖЖ
D
L
GA
AB
АХ
const users = [];
const cursor = User.find().cursor();
cursor.on('data', (current) => {
const user = current;
const currentLogin = user.login.toLowerCase();
const [coefficient, match] = tanimoto(login, currentLogin);
user._doc.coefficient = coefficient;
if (currentLogin.includes(login) || match) {
users.push(current);
}
});
cursor.on('close', () => resolve(users));
АХ
const users = [];
const cursor = User.find().cursor();
cursor.on('data', (current) => {
const user = current;
const currentLogin = user.login.toLowerCase();
const [coefficient, match] = tanimoto(login, currentLogin);
user._doc.coefficient = coefficient;
if (currentLogin.includes(login) || match) {
users.push(current);
}
});
cursor.on('close', () => resolve(users));
AE
YZ