low_memoryMemory-efficient query execution
Query completed with minimal memory footprint, indicating efficient data handling.
What triggers this signal
typescript
// low_memory fires when heap allocation during query execution is minimal.
// Typically triggered by: projections, .lean(), paginated results, single-row lookups.
// These patterns consistently produce low_memory:
await User.findById(id).select('name email').lean(); // projection + lean
await prisma.user.findUnique({ where: { id }, select: { name: true, email: true } });
await pool.query('SELECT name, email FROM users WHERE id = $1', [id]);