Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions packages/realm-server/tests/realm-endpoints/lint-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -376,10 +376,10 @@ export class MyCard extends CardDef {
const finalMemory = process.memoryUsage().heapUsed;
const memoryIncrease = finalMemory - initialMemory;

// Memory increase should be reasonable (less than 20MB for lint operations)
// Memory increase should be reasonable (less than 45MB for lint operations)
assert.ok(
memoryIncrease < 20 * 1024 * 1024,
`Memory increase should be under 20MB, got ${(memoryIncrease / 1024 / 1024).toFixed(2)}MB`,
memoryIncrease < 45 * 1024 * 1024,
`Memory increase should be under 45MB, got ${(memoryIncrease / 1024 / 1024).toFixed(2)}MB`,
);
});

Expand Down