Closed aldoreyes closed 1 month ago
Possible solution is merge
coverage files for raw
report, see https://github.com/cenfun/monocart-reporter/issues/151
// coverage options
{
reports: [
["raw", {
merge: true,
zip: true
}]
]
}
logging: "debug"
to show the details of memory
[MCR] added from dir: ./coverage/v8-coverage (memory: 92.1MB) (5.5s)
[MCR] ┌ [generate] prepared coverage data (memory: 93.2MB) (5.7s)
[MCR] ┌ [generate] merged v8 coverage data (memory: 99.6MB) (65ms)
[MCR] ┌ [convert] parsed ast: build/bin.js (186 B) (memory: 99.9MB) (4ms)
[MCR] ┌ [convert] unpacked sourcemap: build/bin.js (1 files) (memory: 100.1MB) (1ms)
[MCR] ┌ [convert] parsed ast: build/tstyche.js (158.1 KB) (memory: 96.2MB) (48ms)
[MCR] ┌ [convert] unpacked sourcemap: build/tstyche.js (93 files) (memory: 128.6MB) (88ms)
[MCR] ┌ [convert] converted data list (94 files) (memory: 136.2MB) (18ms)
[MCR] ┌ [generate] converted coverage data (memory: 136.2MB) (179ms)
--max-old-space-size
NODE_OPTIONS=--max-old-space-size=4096
@cenfun thanks for your answer, I tried using those options but we are getting the same problem where the usage of memory goes to full, here are the last pieces of the logs.
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/main-app.js/v=1728165951069 (147 files) (memory: 9167.6MB) (796ms)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/webpack.js/v=1728165957006 (54.4 KB) (memory: 9160.1MB) (40ms)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/webpack.js/v=1728165957006): before 28 => after 0
portal:test:e2e:merge: [MCR] added source files: 0
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/webpack.js/v=1728165957006 (0 files) (memory: 9163.1MB) (4ms)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/main-app.js/v=1728165957006 (2.8 MB) (memory: 9237.3MB) (932ms)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/main-app.js/v=1728165957006): before 180 => after 147
portal:test:e2e:merge: [MCR] added source files: 147
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/main-app.js/v=1728165957006 (147 files) (memory: 9287.6MB) (1.2s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/webpack.js/v=1728165911146 (54.4 KB) (memory: 9290.3MB) (23ms)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/webpack.js/v=1728165911146): before 28 => after 0
portal:test:e2e:merge: [MCR] added source files: 0
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/webpack.js/v=1728165911146 (0 files) (memory: 9293.2MB) (21ms)
These are the last logs after this the logs don't print anything and after 10 minutes in this state the agent gets canceled due to not responding. Also this is a nextjs app in case that helps.
Each shard generates around ~30 files with the prefix coverage-.json and another ~30 files with the prefix source-.json
It should be crashed with a error message if OOM
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
Freeze for 10 minutes
seems that something is causing 100% CPU usage? Im not sure.
Based on the last pieces of the logs, I can't find where the problem is.
Could you please provide a minimal reproducible repo? So I can reproduce and debug the issue locally?
(Or upload the monocart-report/**/index.json
, all coverage json files
and mr.config.js
to somewhere and let me download)
here is a big project TypeScript
, the max memory reached 1154.7MB
but without OOM.
[MCR] added coverage data: v8 (memory: 249.6MB) (345ms)
[MCR] added coverage data: v8 (memory: 195.6MB) (78ms)
[MCR] added coverage data: v8 (memory: 316.3MB) (72ms)
[MCR] added coverage data: v8 (memory: 422.4MB) (69ms)
[MCR] added coverage data: v8 (memory: 5[47](https://github.com/cenfun/monocart-coverage-reports/actions/runs/11198037519/job/31128756271#step:8:48).9MB) (78ms)
[MCR] added from dir: /home/runner/work/monocart-coverage-reports/monocart-coverage-reports/coverage/tmp (memory: 547.9MB) (1.3s)
[MCR] ┌ [generate] prepared coverage data (memory: 547.9MB) (1ms)
[MCR] ┌ [generate] merged v8 coverage data (memory: 571.9MB) (209ms)
[MCR] ┌ [convert] parsed ast: built/local/run.js (12.4 MB) (memory: 426.4MB) (6.4s)
[MCR] ┌ [convert] unpacked sourcemap: built/local/run.js (590 files) (memory: 1154.7MB) (6.5s)
[MCR] ┌ [convert] converted data list (590 files) (memory: 1004.2MB) (1.9s)
[MCR] ┌ [generate] converted coverage data (memory: 1004.2MB) (14.9s)
[MCR] ┌ [generate] saved report: lcovonly (memory: 1018.9MB) (732ms)
[MCR] ┌ [generate] saved report: cobertura (memory: 1026MB) (916ms)
[MCR] ┌ [generate] saved report: v8 (memory: 1174MB) (1.1s)
[MCR] ┌ [generate] saved report: v8-json (memory: 319.8MB) (369ms)
[MCR] ┌ [generate] saved report: codecov (memory: 331MB) (29ms)
[MCR] generated coverage reports: coverage/index.html (memory: 331MB) (18.2s)
see https://github.com/cenfun/monocart-coverage-reports/actions/runs/11198037519/job/31128756271
and another project tstyche
which have 300+ coverage files generated without OOM
see https://github.com/cenfun/monocart-coverage-reports/actions/runs/11198037151/job/31128756126
Thanks for the quick replies @cenfun, I don't think I can provide the source code since is a private project. I'll continue debugging this, is strange that our files need so much memory compared to yours
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/webpack.js/v=1728165911146 (54.4 KB) (memory: 9290.3MB) (23ms)
Probably something with nextjs and how we merge the backend/frontend reports on each shard that may be duplicating things or something like that. Again thanks for checking on this and I'll get back if I found the cause on our side.
I'm not sure if the new version can fix the issue, but could you please have a try.
monocart-reporter@2.9.3
(requires monocart-coverage-reports@2.11.1)gc
// coverage options
{
// means that it will force Node.js to run garbage collection if memory > 1024M
gc: 1024
}
details
thanks @cenfun we tried that but we are getting the same result, a little slower, I'm guessing because of the call to the garbage collector. Here is the full log, you can see the memory keeps adding up.
mr.config.js
const coverageReportOptions = {
logging: 'debug',
name: 'Coverage Report',
entryFilter: entry => {
// both client side and server side
return (
entry.url.includes('next/static/chunks') ||
entry.url.includes('next/server/app') ||
entry.url.includes('next/server/src')
);
},
sourceFilter: sourcePath => {
return sourcePath.includes('src');
},
sourcePath: fileSource => {
const list = ['_N_E/', 'portal/'];
for (const pre of list) {
if (fileSource.startsWith(pre)) {
return fileSource.slice(pre.length);
}
}
return fileSource;
},
// reports: ['html', 'lcov', 'cobertura', 'console-details'],
reports: ['lcov'],
gc: 1024,
};
module.exports = {
coverage: coverageReportOptions,
};
Log:
portal:test:e2e:merge: [MR] merging report data ...
portal:test:e2e:merge: [MR] report data loaded: monocart-report-artifacts/monocart-report-chromium-4/index.json
portal:test:e2e:merge: [MR] report data loaded: monocart-report-artifacts/monocart-report-chromium-3/index.json
portal:test:e2e:merge: [MR] report data loaded: monocart-report-artifacts/monocart-report-chromium-2/index.json
portal:test:e2e:merge: [MR] report data loaded: monocart-report-artifacts/monocart-report-chromium-1/index.json
portal:test:e2e:merge: [MCR] ┌ [generate] prepared coverage data (memory: 1703.2MB) (8.2s)
portal:test:e2e:merge: [MCR] ┌ [generate] merged v8 coverage data (memory: 1750.5MB) (715ms)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/webpack.js/v=1728322404294 (54.4 KB) (memory: 1752.9MB) (112ms)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/webpack.js/v=1728322404294): before 28 => after 0
portal:test:e2e:merge: [MCR] added source files: 0
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/webpack.js/v=1728322404294 (0 files) (memory: 1752.2MB) (127ms)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/app-pages-internals.js (83.9 KB) (memory: 1753.7MB) (179ms)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/app-pages-internals.js): before 11 => after 7
portal:test:e2e:merge: [MCR] added source files: 7
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/app-pages-internals.js (7 files) (memory: 1753.6MB) (145ms)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/main-app.js/v=1728322404294 (2.8 MB) (memory: 1772.4MB) (436ms)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/main-app.js/v=1728322404294): before 180 => after 147
portal:test:e2e:merge: [MCR] added source files: 147
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/main-app.js/v=1728322404294 (147 files) (memory: 1805.2MB) (569ms)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/app/layout.js (5 MB) (memory: 1822.9MB) (430ms)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/app/layout.js): before 409 => after 27
portal:test:e2e:merge: [MCR] added source files: 27
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/app/layout.js (27 files) (memory: 1863.5MB) (447ms)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/app/(portal)section5/page.js (5.5 MB) (memory: 1883MB) (437ms)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/app/(portal)section5/page.js): before 469 => after 26
portal:test:e2e:merge: [MCR] added source files: 26
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/app/(portal)section5/page.js (26 files) (memory: 1925.5MB) (366ms)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/app/(portal)/layout.js (8.3 MB) (memory: 1959.9MB) (851ms)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/app/(portal)/layout.js): before 1245 => after 29
portal:test:e2e:merge: [MCR] added source files: 29
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/app/(portal)/layout.js (29 files) (memory: 2033MB) (630ms)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/app/(portal)/page.js (9.1 MB) (memory: 2070.5MB) (916ms)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/app/(portal)/page.js): before 1301 => after 56
portal:test:e2e:merge: [MCR] added source files: 56
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/app/(portal)/page.js (56 files) (memory: 2147.9MB) (548ms)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: .next/server/app/(portal)/section4/[internalId]/page.js (3.8 MB) (memory: 2156.4MB) (348ms)
portal:test:e2e:merge: [MCR] source filter (.next/server/app/(portal)/section4/[internalId]/page.js): before 114 => after 84
portal:test:e2e:merge: [MCR] added source files: 84
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: .next/server/app/(portal)/section4/[internalId]/page.js (84 files) (memory: 2184.6MB) (427ms)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/webpack.js/v=1728322399862 (54.4 KB) (memory: 2186.1MB) (283ms)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/webpack.js/v=1728322399862): before 28 => after 0
portal:test:e2e:merge: [MCR] added source files: 0
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/webpack.js/v=1728322399862 (0 files) (memory: 2185.5MB) (256ms)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/main-app.js/v=1728322399862 (2.8 MB) (memory: 2205MB) (545ms)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/main-app.js/v=1728322399862): before 180 => after 147
portal:test:e2e:merge: [MCR] added source files: 147
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/main-app.js/v=1728322399862 (147 files) (memory: 2237.6MB) (540ms)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/app/(portal)/admin/section3/page.js (8.7 MB) (memory: 2272.9MB) (949ms)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/app/(portal)/admin/section3/page.js): before 1287 => after 46
portal:test:e2e:merge: [MCR] added source files: 46
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/app/(portal)/admin/section3/page.js (46 files) (memory: 2345.9MB) (598ms)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: .next/server/app/api/auth/[...nextauth]/route.js (48.3 KB) (memory: 2346.5MB) (357ms)
portal:test:e2e:merge: [MCR] source filter (.next/server/app/api/auth/[...nextauth]/route.js): before 35 => after 12
portal:test:e2e:merge: [MCR] added source files: 12
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: .next/server/app/api/auth/[...nextauth]/route.js (12 files) (memory: 2347MB) (339ms)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/webpack.js/v=1728322379436 (54.4 KB) (memory: 2348.7MB) (352ms)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/webpack.js/v=1728322379436): before 28 => after 0
portal:test:e2e:merge: [MCR] added source files: 0
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/webpack.js/v=1728322379436 (0 files) (memory: 2348.1MB) (345ms)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/main-app.js/v=1728322379436 (2.8 MB) (memory: 2367.7MB) (650ms)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/main-app.js/v=1728322379436): before 180 => after 147
portal:test:e2e:merge: [MCR] added source files: 147
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/main-app.js/v=1728322379436 (147 files) (memory: 2400.6MB) (548ms)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/app/(portal)/admin/history/page.js (8.5 MB) (memory: 2435.7MB) (1s)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/app/(portal)/admin/history/page.js): before 1273 => after 35
portal:test:e2e:merge: [MCR] added source files: 35
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/app/(portal)/admin/history/page.js (35 files) (memory: 2509.4MB) (779ms)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/webpack.js/v=1728322393946 (54.4 KB) (memory: 2510.8MB) (419ms)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/webpack.js/v=1728322393946): before 28 => after 0
portal:test:e2e:merge: [MCR] added source files: 0
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/webpack.js/v=1728322393946 (0 files) (memory: 2510.3MB) (407ms)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/main-app.js/v=1728322393946 (2.8 MB) (memory: 2529.7MB) (660ms)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/main-app.js/v=1728322393946): before 180 => after 147
portal:test:e2e:merge: [MCR] added source files: 147
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/main-app.js/v=1728322393946 (147 files) (memory: 2562.6MB) (647ms)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/webpack.js/v=1728322393945 (54.4 KB) (memory: 2564.1MB) (429ms)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/webpack.js/v=1728322393945): before 28 => after 0
portal:test:e2e:merge: [MCR] added source files: 0
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/webpack.js/v=1728322393945 (0 files) (memory: 2563.4MB) (424ms)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/main-app.js/v=1728322393945 (2.8 MB) (memory: 2582.9MB) (677ms)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/main-app.js/v=1728322393945): before 180 => after 147
portal:test:e2e:merge: [MCR] added source files: 147
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/main-app.js/v=1728322393945 (147 files) (memory: 2615.6MB) (670ms)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/webpack.js/v=1728322404293 (54.4 KB) (memory: 2617MB) (487ms)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/webpack.js/v=1728322404293): before 28 => after 0
portal:test:e2e:merge: [MCR] added source files: 0
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/webpack.js/v=1728322404293 (0 files) (memory: 2616.4MB) (444ms)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/main-app.js/v=1728322404293 (2.8 MB) (memory: 2635.8MB) (698ms)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/main-app.js/v=1728322404293): before 180 => after 147
portal:test:e2e:merge: [MCR] added source files: 147
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/main-app.js/v=1728322404293 (147 files) (memory: 2668.4MB) (653ms)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/webpack.js/v=1728322399861 (54.4 KB) (memory: 2669.7MB) (470ms)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/webpack.js/v=1728322399861): before 28 => after 0
portal:test:e2e:merge: [MCR] added source files: 0
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/webpack.js/v=1728322399861 (0 files) (memory: 2669.2MB) (509ms)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/main-app.js/v=1728322399861 (2.8 MB) (memory: 2688.7MB) (752ms)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/main-app.js/v=1728322399861): before 180 => after 147
portal:test:e2e:merge: [MCR] added source files: 147
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/main-app.js/v=1728322399861 (147 files) (memory: 2721.8MB) (696ms)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: .next/server/src/middleware.js (556.1 KB) (memory: 2732.1MB) (534ms)
portal:test:e2e:merge: [MCR] source filter (.next/server/src/middleware.js): before 167 => after 28
portal:test:e2e:merge: [MCR] added source files: 28
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: .next/server/src/middleware.js (28 files) (memory: 2731.2MB) (500ms)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: .next/server/app/(auth)/login/page.js (3.4 MB) (memory: 2738.3MB) (548ms)
portal:test:e2e:merge: [MCR] source filter (.next/server/app/(auth)/login/page.js): before 58 => after 30
portal:test:e2e:merge: [MCR] added source files: 30
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: .next/server/app/(auth)/login/page.js (30 files) (memory: 2761.7MB) (624ms)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: .next/server/app/(portal)/admin/history/page.js (3.6 MB) (memory: 2769.4MB) (572ms)
portal:test:e2e:merge: [MCR] source filter (.next/server/app/(portal)/admin/history/page.js): before 78 => after 49
portal:test:e2e:merge: [MCR] added source files: 49
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: .next/server/app/(portal)/admin/history/page.js (49 files) (memory: 2794.4MB) (520ms)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: .next/server/app/(portal)/page.js (11 MB) (memory: 2817.6MB) (870ms)
portal:test:e2e:merge: [MCR] source filter (.next/server/app/(portal)/page.js): before 115 => after 85
portal:test:e2e:merge: [MCR] added source files: 85
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: .next/server/app/(portal)/page.js (85 files) (memory: 2887.3MB) (775ms)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: .next/server/app/(portal)/product/section1/page.js (3.6 MB) (memory: 2895.2MB) (568ms)
portal:test:e2e:merge: [MCR] source filter (.next/server/app/(portal)/product/section1/page.js): before 91 => after 62
portal:test:e2e:merge: [MCR] added source files: 62
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: .next/server/app/(portal)/product/section1/page.js (62 files) (memory: 2920.8MB) (629ms)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: .next/server/app/(portal)/admin/section3/page.js (3.7 MB) (memory: 2928.9MB) (616ms)
portal:test:e2e:merge: [MCR] source filter (.next/server/app/(portal)/admin/section3/page.js): before 88 => after 58
portal:test:e2e:merge: [MCR] added source files: 58
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: .next/server/app/(portal)/admin/section3/page.js (58 files) (memory: 2955.1MB) (636ms)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: .next/server/app/(portal)section5/page.js (3.5 MB) (memory: 2962.8MB) (559ms)
portal:test:e2e:merge: [MCR] source filter (.next/server/app/(portal)section5/page.js): before 70 => after 40
portal:test:e2e:merge: [MCR] added source files: 40
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: .next/server/app/(portal)section5/page.js (40 files) (memory: 2987.8MB) (686ms)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: .next/server/app/(portal)/section4/page.js (3.8 MB) (memory: 2996.5MB) (652ms)
portal:test:e2e:merge: [MCR] source filter (.next/server/app/(portal)/section4/page.js): before 114 => after 83
portal:test:e2e:merge: [MCR] added source files: 83
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: .next/server/app/(portal)/section4/page.js (83 files) (memory: 3024.9MB) (680ms)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/webpack.js/v=1728322408529 (54.4 KB) (memory: 3026.6MB) (588ms)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/webpack.js/v=1728322408529): before 28 => after 0
portal:test:e2e:merge: [MCR] added source files: 0
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/webpack.js/v=1728322408529 (0 files) (memory: 3025.9MB) (589ms)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/main-app.js/v=1728322408529 (2.8 MB) (memory: 3045.3MB) (836ms)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/main-app.js/v=1728322408529): before 180 => after 147
portal:test:e2e:merge: [MCR] added source files: 147
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/main-app.js/v=1728322408529 (147 files) (memory: 3078.2MB) (814ms)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/app/(portal)/section4/page.js (9.1 MB) (memory: 3116MB) (1.3s)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/app/(portal)/section4/page.js): before 1306 => after 60
portal:test:e2e:merge: [MCR] added source files: 60
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/app/(portal)/section4/page.js (60 files) (memory: 3193.6MB) (900ms)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/webpack.js/v=1728322384283 (54.4 KB) (memory: 3195MB) (654ms)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/webpack.js/v=1728322384283): before 28 => after 0
portal:test:e2e:merge: [MCR] added source files: 0
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/webpack.js/v=1728322384283 (0 files) (memory: 3194.4MB) (661ms)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/main-app.js/v=1728322384283 (2.8 MB) (memory: 3214MB) (886ms)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/main-app.js/v=1728322384283): before 180 => after 147
portal:test:e2e:merge: [MCR] added source files: 147
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/main-app.js/v=1728322384283 (147 files) (memory: 3246.9MB) (878ms)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/app/(portal)/section4/[internalId]/page.js (9 MB) (memory: 3284.3MB) (1.4s)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/app/(portal)/section4/[internalId]/page.js): before 1295 => after 50
portal:test:e2e:merge: [MCR] added source files: 50
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/app/(portal)/section4/[internalId]/page.js (50 files) (memory: 3360.6MB) (960ms)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/webpack.js/v=1728322399557 (54.4 KB) (memory: 3362MB) (728ms)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/webpack.js/v=1728322399557): before 28 => after 0
portal:test:e2e:merge: [MCR] added source files: 0
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/webpack.js/v=1728322399557 (0 files) (memory: 3361.3MB) (832ms)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/main-app.js/v=1728322399557 (2.8 MB) (memory: 3380.7MB) (967ms)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/main-app.js/v=1728322399557): before 180 => after 147
portal:test:e2e:merge: [MCR] added source files: 147
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/main-app.js/v=1728322399557 (147 files) (memory: 3413.2MB) (770ms)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/webpack.js/v=1728322518359 (54.4 KB) (memory: 3414.7MB) (766ms)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/webpack.js/v=1728322518359): before 28 => after 0
portal:test:e2e:merge: [MCR] added source files: 0
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/webpack.js/v=1728322518359 (0 files) (memory: 3414MB) (738ms)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/main-app.js/v=1728322518359 (2.8 MB) (memory: 3433.7MB) (994ms)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/main-app.js/v=1728322518359): before 180 => after 147
portal:test:e2e:merge: [MCR] added source files: 147
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/main-app.js/v=1728322518359 (147 files) (memory: 3466.6MB) (828ms)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/app/layout.js (5 MB) (memory: 3484.5MB) (1s)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/app/layout.js): before 409 => after 27
portal:test:e2e:merge: [MCR] added source files: 27
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/app/layout.js (27 files) (memory: 3525.5MB) (904ms)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/app/(portal)/section2/page.js (8.6 MB) (memory: 3560.9MB) (1.5s)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/app/(portal)/section2/page.js): before 1279 => after 40
portal:test:e2e:merge: [MCR] added source files: 40
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/app/(portal)/section2/page.js (40 files) (memory: 3635.3MB) (1.1s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/app/(portal)/page.js (9.1 MB) (memory: 3672.8MB) (1.5s)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/app/(portal)/page.js): before 1301 => after 56
portal:test:e2e:merge: [MCR] added source files: 56
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/app/(portal)/page.js (56 files) (memory: 3750.2MB) (1.1s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/webpack.js/v=1728322492606 (54.4 KB) (memory: 3751.5MB) (875ms)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/webpack.js/v=1728322492606): before 28 => after 0
portal:test:e2e:merge: [MCR] added source files: 0
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/webpack.js/v=1728322492606 (0 files) (memory: 3751MB) (878ms)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/main-app.js/v=1728322492606 (2.8 MB) (memory: 3770.6MB) (1.1s)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/main-app.js/v=1728322492606): before 180 => after 147
portal:test:e2e:merge: [MCR] added source files: 147
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/main-app.js/v=1728322492606 (147 files) (memory: 3802.9MB) (1s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/app/(portal)/admin/section3/page.js (8.7 MB) (memory: 3838.3MB) (1.5s)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/app/(portal)/admin/section3/page.js): before 1287 => after 46
portal:test:e2e:merge: [MCR] added source files: 46
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/app/(portal)/admin/section3/page.js (46 files) (memory: 3911.2MB) (1.2s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/webpack.js/v=1728322503859 (54.4 KB) (memory: 3912.7MB) (969ms)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/webpack.js/v=1728322503859): before 28 => after 0
portal:test:e2e:merge: [MCR] added source files: 0
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/webpack.js/v=1728322503859 (0 files) (memory: 3911.9MB) (1.2s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/main-app.js/v=1728322503859 (2.8 MB) (memory: 3931.4MB) (1.2s)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/main-app.js/v=1728322503859): before 180 => after 147
portal:test:e2e:merge: [MCR] added source files: 147
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/main-app.js/v=1728322503859 (147 files) (memory: 3964MB) (1.2s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: .next/server/app/(portal)/section4/[internalId]/page.js (3.8 MB) (memory: 3972.8MB) (1.3s)
portal:test:e2e:merge: [MCR] source filter (.next/server/app/(portal)/section4/[internalId]/page.js): before 114 => after 84
portal:test:e2e:merge: [MCR] added source files: 84
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: .next/server/app/(portal)/section4/[internalId]/page.js (84 files) (memory: 4000.6MB) (1.2s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/webpack.js/v=1728322504000 (54.4 KB) (memory: 4002.1MB) (1.2s)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/webpack.js/v=1728322504000): before 28 => after 0
portal:test:e2e:merge: [MCR] added source files: 0
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/webpack.js/v=1728322504000 (0 files) (memory: 4001.5MB) (1.1s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/main-app.js/v=1728322504000 (2.8 MB) (memory: 4020.9MB) (1.3s)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/main-app.js/v=1728322504000): before 180 => after 147
portal:test:e2e:merge: [MCR] added source files: 147
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/main-app.js/v=1728322504000 (147 files) (memory: 4053.6MB) (1.1s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/webpack.js/v=1728322511991 (54.4 KB) (memory: 4055.1MB) (1.3s)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/webpack.js/v=1728322511991): before 28 => after 0
portal:test:e2e:merge: [MCR] added source files: 0
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/webpack.js/v=1728322511991 (0 files) (memory: 4054.3MB) (1s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/main-app.js/v=1728322511991 (2.8 MB) (memory: 4073.8MB) (1.3s)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/main-app.js/v=1728322511991): before 180 => after 147
portal:test:e2e:merge: [MCR] added source files: 147
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/main-app.js/v=1728322511991 (147 files) (memory: 4106.7MB) (1.2s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: .next/server/app/(portal)/page.js (11 MB) (memory: 4129.7MB) (1.3s)
portal:test:e2e:merge: [MCR] source filter (.next/server/app/(portal)/page.js): before 115 => after 85
portal:test:e2e:merge: [MCR] added source files: 85
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: .next/server/app/(portal)/page.js (85 files) (memory: 4199.4MB) (1.3s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: .next/server/app/(portal)/product/section1/page.js (3.6 MB) (memory: 4207.4MB) (1.1s)
portal:test:e2e:merge: [MCR] source filter (.next/server/app/(portal)/product/section1/page.js): before 91 => after 62
portal:test:e2e:merge: [MCR] added source files: 62
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: .next/server/app/(portal)/product/section1/page.js (62 files) (memory: 4233.2MB) (1.1s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: .next/server/app/(portal)/section4/page.js (3.8 MB) (memory: 4241.9MB) (997ms)
portal:test:e2e:merge: [MCR] source filter (.next/server/app/(portal)/section4/page.js): before 114 => after 83
portal:test:e2e:merge: [MCR] added source files: 83
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: .next/server/app/(portal)/section4/page.js (83 files) (memory: 4270.3MB) (1.1s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: .next/server/app/(portal)/admin/section3/page.js (3.7 MB) (memory: 4278.4MB) (1.1s)
portal:test:e2e:merge: [MCR] source filter (.next/server/app/(portal)/admin/section3/page.js): before 88 => after 58
portal:test:e2e:merge: [MCR] added source files: 58
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: .next/server/app/(portal)/admin/section3/page.js (58 files) (memory: 4304.2MB) (1.2s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: .next/server/app/(portal)/admin/history/page.js (3.6 MB) (memory: 4311.9MB) (1.1s)
portal:test:e2e:merge: [MCR] source filter (.next/server/app/(portal)/admin/history/page.js): before 78 => after 49
portal:test:e2e:merge: [MCR] added source files: 49
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: .next/server/app/(portal)/admin/history/page.js (49 files) (memory: 4336.7MB) (1.1s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: .next/server/app/(portal)/section2/page.js (3.6 MB) (memory: 4344.6MB) (1.1s)
portal:test:e2e:merge: [MCR] source filter (.next/server/app/(portal)/section2/page.js): before 83 => after 54
portal:test:e2e:merge: [MCR] added source files: 54
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: .next/server/app/(portal)/section2/page.js (54 files) (memory: 4369.9MB) (1.2s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: .next/server/app/(portal)/section2/[batchId]/page.js (7.1 MB) (memory: 4385.6MB) (1.1s)
portal:test:e2e:merge: [MCR] source filter (.next/server/app/(portal)/section2/[batchId]/page.js): before 118 => after 87
portal:test:e2e:merge: [MCR] added source files: 87
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: .next/server/app/(portal)/section2/[batchId]/page.js (87 files) (memory: 4432MB) (1.2s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: .next/server/app/(portal)/section2/[batchId]/reports/errors/route.js (65.7 KB) (memory: 4433.2MB) (1.1s)
portal:test:e2e:merge: [MCR] source filter (.next/server/app/(portal)/section2/[batchId]/reports/errors/route.js): before 43 => after 19
portal:test:e2e:merge: [MCR] added source files: 19
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: .next/server/app/(portal)/section2/[batchId]/reports/errors/route.js (19 files) (memory: 4433.8MB) (1.1s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/webpack.js/v=1728322517229 (54.4 KB) (memory: 4435.8MB) (1.2s)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/webpack.js/v=1728322517229): before 28 => after 0
portal:test:e2e:merge: [MCR] added source files: 0
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/webpack.js/v=1728322517229 (0 files) (memory: 4434.8MB) (1.1s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/main-app.js/v=1728322517229 (2.8 MB) (memory: 4454.4MB) (1.5s)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/main-app.js/v=1728322517229): before 180 => after 147
portal:test:e2e:merge: [MCR] added source files: 147
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/main-app.js/v=1728322517229 (147 files) (memory: 4487.4MB) (1.4s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/webpack.js/v=1728322492334 (54.4 KB) (memory: 4488.7MB) (1.1s)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/webpack.js/v=1728322492334): before 28 => after 0
portal:test:e2e:merge: [MCR] added source files: 0
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/webpack.js/v=1728322492334 (0 files) (memory: 4488.1MB) (1.2s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/main-app.js/v=1728322492334 (2.8 MB) (memory: 4507.7MB) (1.4s)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/main-app.js/v=1728322492334): before 180 => after 147
portal:test:e2e:merge: [MCR] added source files: 147
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/main-app.js/v=1728322492334 (147 files) (memory: 4540.2MB) (1.3s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/webpack.js/v=1728322492446 (54.4 KB) (memory: 4541.5MB) (1.2s)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/webpack.js/v=1728322492446): before 28 => after 0
portal:test:e2e:merge: [MCR] added source files: 0
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/webpack.js/v=1728322492446 (0 files) (memory: 4540.9MB) (1.1s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/main-app.js/v=1728322492446 (2.8 MB) (memory: 4560.5MB) (1.4s)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/main-app.js/v=1728322492446): before 180 => after 147
portal:test:e2e:merge: [MCR] added source files: 147
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/main-app.js/v=1728322492446 (147 files) (memory: 4593.2MB) (1.3s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/app/(portal)/section4/page.js (9.1 MB) (memory: 4630.9MB) (1.8s)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/app/(portal)/section4/page.js): before 1306 => after 60
portal:test:e2e:merge: [MCR] added source files: 60
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/app/(portal)/section4/page.js (60 files) (memory: 4708.6MB) (1.4s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/webpack.js/v=1728322492812 (54.4 KB) (memory: 4709.9MB) (1.2s)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/webpack.js/v=1728322492812): before 28 => after 0
portal:test:e2e:merge: [MCR] added source files: 0
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/webpack.js/v=1728322492812 (0 files) (memory: 4709.3MB) (1.2s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/main-app.js/v=1728322492812 (2.8 MB) (memory: 4728.8MB) (1.5s)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/main-app.js/v=1728322492812): before 180 => after 147
portal:test:e2e:merge: [MCR] added source files: 147
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/main-app.js/v=1728322492812 (147 files) (memory: 4761.3MB) (1.4s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/app/(portal)/section4/[internalId]/page.js (9 MB) (memory: 4798.6MB) (1.9s)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/app/(portal)/section4/[internalId]/page.js): before 1295 => after 50
portal:test:e2e:merge: [MCR] added source files: 50
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/app/(portal)/section4/[internalId]/page.js (50 files) (memory: 4874.7MB) (1.3s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/webpack.js/v=1728322503897 (54.4 KB) (memory: 4874.7MB) (1.3s)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/webpack.js/v=1728322503897): before 28 => after 0
portal:test:e2e:merge: [MCR] added source files: 0
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/webpack.js/v=1728322503897 (0 files) (memory: 4875.4MB) (1.3s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/main-app.js/v=1728322503897 (2.8 MB) (memory: 4894.7MB) (1.5s)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/main-app.js/v=1728322503897): before 180 => after 147
portal:test:e2e:merge: [MCR] added source files: 147
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/main-app.js/v=1728322503897 (147 files) (memory: 4927.3MB) (1.4s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/webpack.js/v=1728322507291 (54.4 KB) (memory: 4928.8MB) (1.4s)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/webpack.js/v=1728322507291): before 28 => after 0
portal:test:e2e:merge: [MCR] added source files: 0
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/webpack.js/v=1728322507291 (0 files) (memory: 4928.2MB) (1.4s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/main-app.js/v=1728322507291 (2.8 MB) (memory: 4947.7MB) (1.6s)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/main-app.js/v=1728322507291): before 180 => after 147
portal:test:e2e:merge: [MCR] added source files: 147
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/main-app.js/v=1728322507291 (147 files) (memory: 4980.2MB) (1.4s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/app/(portal)/product/section1/page.js (8.6 MB) (memory: 5015.4MB) (2s)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/app/(portal)/product/section1/page.js): before 1283 => after 44
portal:test:e2e:merge: [MCR] added source files: 44
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/app/(portal)/product/section1/page.js (44 files) (memory: 5089.9MB) (1.4s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/webpack.js/v=1728322492405 (54.4 KB) (memory: 5091.3MB) (1.4s)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/webpack.js/v=1728322492405): before 28 => after 0
portal:test:e2e:merge: [MCR] added source files: 0
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/webpack.js/v=1728322492405 (0 files) (memory: 5090.8MB) (1.4s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/main-app.js/v=1728322492405 (2.8 MB) (memory: 5110.1MB) (1.6s)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/main-app.js/v=1728322492405): before 180 => after 147
portal:test:e2e:merge: [MCR] added source files: 147
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/main-app.js/v=1728322492405 (147 files) (memory: 5142.8MB) (1.5s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/webpack.js/v=1728322503805 (54.4 KB) (memory: 5144.1MB) (1.4s)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/webpack.js/v=1728322503805): before 28 => after 0
portal:test:e2e:merge: [MCR] added source files: 0
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/webpack.js/v=1728322503805 (0 files) (memory: 5143.5MB) (1.4s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/main-app.js/v=1728322503805 (2.8 MB) (memory: 5162.7MB) (1.6s)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/main-app.js/v=1728322503805): before 180 => after 147
portal:test:e2e:merge: [MCR] added source files: 147
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/main-app.js/v=1728322503805 (147 files) (memory: 5195.4MB) (1.5s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/webpack.js/v=1728322492336 (54.4 KB) (memory: 5196.9MB) (1.4s)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/webpack.js/v=1728322492336): before 28 => after 0
portal:test:e2e:merge: [MCR] added source files: 0
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/webpack.js/v=1728322492336 (0 files) (memory: 5196.1MB) (1.4s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/main-app.js/v=1728322492336 (2.8 MB) (memory: 5215.8MB) (1.7s)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/main-app.js/v=1728322492336): before 180 => after 147
portal:test:e2e:merge: [MCR] added source files: 147
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/main-app.js/v=1728322492336 (147 files) (memory: 5248.2MB) (1.6s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/webpack.js/v=1728322499678 (54.4 KB) (memory: 5248.4MB) (1.5s)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/webpack.js/v=1728322499678): before 28 => after 0
portal:test:e2e:merge: [MCR] added source files: 0
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/webpack.js/v=1728322499678 (0 files) (memory: 5249MB) (1.4s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/main-app.js/v=1728322499678 (2.8 MB) (memory: 5268.5MB) (1.7s)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/main-app.js/v=1728322499678): before 180 => after 147
portal:test:e2e:merge: [MCR] added source files: 147
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/main-app.js/v=1728322499678 (147 files) (memory: 5301MB) (1.6s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/webpack.js/v=1728322500614 (54.4 KB) (memory: 5302.2MB) (1.5s)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/webpack.js/v=1728322500614): before 28 => after 0
portal:test:e2e:merge: [MCR] added source files: 0
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/webpack.js/v=1728322500614 (0 files) (memory: 5301.6MB) (1.5s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/main-app.js/v=1728322500614 (2.8 MB) (memory: 5321.2MB) (1.7s)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/main-app.js/v=1728322500614): before 180 => after 147
portal:test:e2e:merge: [MCR] added source files: 147
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/main-app.js/v=1728322500614 (147 files) (memory: 5353.9MB) (1.6s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/webpack.js/v=1728322507648 (54.4 KB) (memory: 5355.1MB) (1.5s)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/webpack.js/v=1728322507648): before 28 => after 0
portal:test:e2e:merge: [MCR] added source files: 0
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/webpack.js/v=1728322507648 (0 files) (memory: 5354.5MB) (1.5s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/main-app.js/v=1728322507648 (2.8 MB) (memory: 5374.3MB) (1.7s)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/main-app.js/v=1728322507648): before 180 => after 147
portal:test:e2e:merge: [MCR] added source files: 147
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/main-app.js/v=1728322507648 (147 files) (memory: 5407MB) (1.6s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/webpack.js/v=1728322507299 (54.4 KB) (memory: 5408.5MB) (1.5s)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/webpack.js/v=1728322507299): before 28 => after 0
portal:test:e2e:merge: [MCR] added source files: 0
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/webpack.js/v=1728322507299 (0 files) (memory: 5407.8MB) (1.6s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/main-app.js/v=1728322507299 (2.8 MB) (memory: 5427.4MB) (1.8s)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/main-app.js/v=1728322507299): before 180 => after 147
portal:test:e2e:merge: [MCR] added source files: 147
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/main-app.js/v=1728322507299 (147 files) (memory: 5459.8MB) (1.7s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/webpack.js/v=1728322511990 (54.4 KB) (memory: 5461.3MB) (1.5s)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/webpack.js/v=1728322511990): before 28 => after 0
portal:test:e2e:merge: [MCR] added source files: 0
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/webpack.js/v=1728322511990 (0 files) (memory: 5460.7MB) (1.5s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/main-app.js/v=1728322511990 (2.8 MB) (memory: 5480.2MB) (1.8s)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/main-app.js/v=1728322511990): before 180 => after 147
portal:test:e2e:merge: [MCR] added source files: 147
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/main-app.js/v=1728322511990 (147 files) (memory: 5512.6MB) (1.7s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/app/(portal)/section2/[batchId]/page.js (9.1 MB) (memory: 5550.4MB) (2.3s)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/app/(portal)/section2/[batchId]/page.js): before 1307 => after 61
portal:test:e2e:merge: [MCR] added source files: 61
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/app/(portal)/section2/[batchId]/page.js (61 files) (memory: 5628.1MB) (1.8s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/webpack.js/v=1728322915134 (54.4 KB) (memory: 5629.6MB) (1.6s)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/webpack.js/v=1728322915134): before 28 => after 0
portal:test:e2e:merge: [MCR] added source files: 0
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/webpack.js/v=1728322915134 (0 files) (memory: 5628.8MB) (1.6s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/main-app.js/v=1728322915134 (2.8 MB) (memory: 5648.3MB) (1.9s)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/main-app.js/v=1728322915134): before 180 => after 147
portal:test:e2e:merge: [MCR] added source files: 147
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/main-app.js/v=1728322915134 (147 files) (memory: 5680.9MB) (1.8s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/app/layout.js (5 MB) (memory: 5734.2MB) (1.9s)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/app/layout.js): before 409 => after 27
portal:test:e2e:merge: [MCR] added source files: 27
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/app/layout.js (27 files) (memory: 5739.6MB) (1.9s)
portal:test:e2e:merge: [MCR] ┌ [convert] parsed ast: localhost-3000/_next/static/chunks/app/(portal)/section4/page.js (9.1 MB) (memory: 5777.5MB) (2.4s)
portal:test:e2e:merge: [MCR] source filter (localhost-3000/_next/static/chunks/app/(portal)/section4/page.js): before 1306 => after 60
portal:test:e2e:merge: [MCR] added source files: 60
portal:test:e2e:merge: [MCR] ┌ [convert] unpacked sourcemap: localhost-3000/_next/static/chunks/app/(portal)/section4/page.js (60 files) (memory: 5855.7MB) (2.1s)
portal:test:e2e:merge:
portal:test:e2e:merge: <--- Last few GCs --->
portal:test:e2e:merge:
portal:test:e2e:merge: [85443:0x140008000] 217595 ms: Scavenge 5926.5 (6048.8) -> 5915.0 (6051.1) MB, 15.6 / 0.0 ms (average mu = 0.332, current mu = 0.424) allocation failure;
portal:test:e2e:merge: [85443:0x140008000] 217620 ms: Scavenge 5933.3 (6055.6) -> 5921.7 (6058.6) MB, 9.1 / 0.0 ms (average mu = 0.332, current mu = 0.424) allocation failure;
portal:test:e2e:merge: [85443:0x140008000] 219059 ms: Mark-sweep 5933.1 (6062.2) -> 5855.7 (6049.7) MB, 1423.7 / 0.0 ms (average mu = 0.321, current mu = 0.310) testing; GC in old space requested
portal:test:e2e:merge:
portal:test:e2e:merge:
portal:test:e2e:merge: <--- JS stacktrace --->
portal:test:e2e:merge:
portal:test:e2e:merge: FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
portal:test:e2e:merge: 1: 0x104919f80 node::Abort() [/Users/user1/.nvm/versions/node/v18.19.0/bin/node]
portal:test:e2e:merge: 2: 0x10491a164 node::ModifyCodeGenerationFromStrings(v8::Local<v8::Context>, v8::Local<v8::Value>, bool) [/Users/user1/.nvm/versions/node/v18.19.0/bin/node]
portal:test:e2e:merge: 3: 0x104a70544 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/Users/user1/.nvm/versions/node/v18.19.0/bin/node]
portal:test:e2e:merge: 4: 0x104c1ae28 v8::internal::EmbedderStackStateScope::EmbedderStackStateScope(v8::internal::Heap*, v8::internal::EmbedderStackStateScope::Origin, cppgc::EmbedderStackState) [/Users/user1/.nvm/versions/node/v18.19.0/bin/node]
portal:test:e2e:merge: 5: 0x104c1ea14 v8::internal::Heap::CollectSharedGarbage(v8::internal::GarbageCollectionReason) [/Users/user1/.nvm/versions/node/v18.19.0/bin/node]
portal:test:e2e:merge: 6: 0x104c1ba28 v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::internal::GarbageCollectionReason, char const*, v8::GCCallbackFlags) [/Users/user1/.nvm/versions/node/v18.19.0/bin/node]
portal:test:e2e:merge: 7: 0x104c18d28 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/Users/user1/.nvm/versions/node/v18.19.0/bin/node]
portal:test:e2e:merge: 8: 0x104c1a688 v8::internal::Heap::PreciseCollectAllGarbage(int, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/Users/user1/.nvm/versions/node/v18.19.0/bin/node]
portal:test:e2e:merge: 9: 0x104bc8268 v8::internal::GCExtension::GC(v8::FunctionCallbackInfo<v8::Value> const&) [/Users/user1/.nvm/versions/node/v18.19.0/bin/node]
portal:test:e2e:merge: 10: 0x104ae0948 v8::internal::FunctionCallbackArguments::Call(v8::internal::CallHandlerInfo) [/Users/user1/.nvm/versions/node/v18.19.0/bin/node]
portal:test:e2e:merge: 11: 0x104ae0438 v8::internal::MaybeHandle<v8::internal::Object> v8::internal::(anonymous namespace)::HandleApiCallHelper<false>(v8::internal::Isolate*, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::FunctionTemplateInfo>, v8::internal::Handle<v8::internal::Object>, v8::internal::BuiltinArguments) [/Users/user1/.nvm/versions/node/v18.19.0/bin/node]
portal:test:e2e:merge: 12: 0x104adfc90 v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) [/Users/user1/.nvm/versions/node/v18.19.0/bin/node]
portal:test:e2e:merge: 13: 0x1052e118c Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_BuiltinExit [/Users/user1/.nvm/versions/node/v18.19.0/bin/node]
portal:test:e2e:merge: 14: 0x10a499d30
portal:test:e2e:merge: 15: 0x10a49f954
portal:test:e2e:merge: 16: 0x10a48d3b4
portal:test:e2e:merge: 17: 0x10a4ae7fc
portal:test:e2e:merge: 18: 0x10526c198 Builtins_InterpreterEntryTrampoline [/Users/user1/.nvm/versions/node/v18.19.0/bin/node]
portal:test:e2e:merge: 19: 0x10526c198 Builtins_InterpreterEntryTrampoline [/Users/user1/.nvm/versions/node/v18.19.0/bin/node]
portal:test:e2e:merge: 20: 0x10529def4 Builtins_AsyncFunctionAwaitResolveClosure [/Users/user1/.nvm/versions/node/v18.19.0/bin/node]
portal:test:e2e:merge: 21: 0x10532c738 Builtins_PromiseFulfillReactionJob [/Users/user1/.nvm/versions/node/v18.19.0/bin/node]
portal:test:e2e:merge: 22: 0x10528fc4c Builtins_RunMicrotasks [/Users/user1/.nvm/versions/node/v18.19.0/bin/node]
portal:test:e2e:merge: 23: 0x10526a3a4 Builtins_JSRunMicrotasksEntry [/Users/user1/.nvm/versions/node/v18.19.0/bin/node]
portal:test:e2e:merge: 24: 0x104b9cc74 v8::internal::(anonymous namespace)::Invoke(v8::internal::Isolate*, v8::internal::(anonymous namespace)::InvokeParams const&) [/Users/user1/.nvm/versions/node/v18.19.0/bin/node]
portal:test:e2e:merge: 25: 0x104b9d164 v8::internal::(anonymous namespace)::InvokeWithTryCatch(v8::internal::Isolate*, v8::internal::(anonymous namespace)::InvokeParams const&) [/Users/user1/.nvm/versions/node/v18.19.0/bin/node]
portal:test:e2e:merge: 26: 0x104b9d340 v8::internal::Execution::TryRunMicrotasks(v8::internal::Isolate*, v8::internal::MicrotaskQueue*, v8::internal::MaybeHandle<v8::internal::Object>*) [/Users/user1/.nvm/versions/node/v18.19.0/bin/node]
portal:test:e2e:merge: 27: 0x104bc3aa8 v8::internal::MicrotaskQueue::RunMicrotasks(v8::internal::Isolate*) [/Users/user1/.nvm/versions/node/v18.19.0/bin/node]
portal:test:e2e:merge: 28: 0x104bc4244 v8::internal::MicrotaskQueue::PerformCheckpoint(v8::Isolate*) [/Users/user1/.nvm/versions/node/v18.19.0/bin/node]
portal:test:e2e:merge: 29: 0x10485cc4c node::InternalCallbackScope::Close() [/Users/user1/.nvm/versions/node/v18.19.0/bin/node]
portal:test:e2e:merge: 30: 0x10485cfd0 node::InternalMakeCallback(node::Environment*, v8::Local<v8::Object>, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*, node::async_context) [/Users/user1/.nvm/versions/node/v18.19.0/bin/node]
portal:test:e2e:merge: 31: 0x1048724a0 node::AsyncWrap::MakeCallback(v8::Local<v8::Function>, int, v8::Local<v8::Value>*) [/Users/user1/.nvm/versions/node/v18.19.0/bin/node]
portal:test:e2e:merge: 32: 0x10491f140 node::fs::FSReqCallback::Resolve(v8::Local<v8::Value>) [/Users/user1/.nvm/versions/node/v18.19.0/bin/node]
portal:test:e2e:merge: 33: 0x10491f860 node::fs::AfterNoArgs(uv_fs_s*) [/Users/user1/.nvm/versions/node/v18.19.0/bin/node]
portal:test:e2e:merge: 34: 0x1049162cc node::MakeLibuvRequestCallback<uv_fs_s, void (*)(uv_fs_s*)>::Wrapper(uv_fs_s*) [/Users/user1/.nvm/versions/node/v18.19.0/bin/node]
portal:test:e2e:merge: 35: 0x105248f88 uv__work_done [/Users/user1/.nvm/versions/node/v18.19.0/bin/node]
portal:test:e2e:merge: 36: 0x10524c744 uv__async_io [/Users/user1/.nvm/versions/node/v18.19.0/bin/node]
portal:test:e2e:merge: 37: 0x10525ecf8 uv__io_poll [/Users/user1/.nvm/versions/node/v18.19.0/bin/node]
portal:test:e2e:merge: 38: 0x10524cc14 uv_run [/Users/user1/.nvm/versions/node/v18.19.0/bin/node]
portal:test:e2e:merge: 39: 0x10485d6e0 node::SpinEventLoop(node::Environment*) [/Users/user1/.nvm/versions/node/v18.19.0/bin/node]
portal:test:e2e:merge: 40: 0x1049564fc node::NodeMainInstance::Run() [/Users/user1/.nvm/versions/node/v18.19.0/bin/node]
portal:test:e2e:merge: 41: 0x1048e6490 node::LoadSnapshotDataAndRun(node::SnapshotData const**, node::InitializationResult const*) [/Users/user1/.nvm/versions/node/v18.19.0/bin/node]
portal:test:e2e:merge: 42: 0x1048e6748 node::Start(int, char**) [/Users/user1/.nvm/versions/node/v18.19.0/bin/node]
portal:test:e2e:merge: 43: 0x18622b154 start [/usr/lib/dyld]
According to above logs, there are a couple of issues could be fixed:
added source files: 0
which means it is not necessary to analyze this entry file, we should exclude it with entryFilter
to reduce memory. for example: webpack.js
entryFilter: {
"**/static/chunks/webpack.js/**": false,
"**/next/static/chunks/**": true,
"**/next/server/app/**": true,
"**/next/server/src/**": true
}
1728322399862
): before 180 => after 1471728322379436
): before 180 => after 1471728322393946
): before 180 => after 147The only difference is v=*
, try to remove it or fix it. The v=*
could be exist, but it should not change randomly. I don't think it's necessary if it's used to prevent caching, at least, during the testing phase.
@cenfun you are an absolute genius, this alone fixed our problems
entryFilter: {
'**/static/chunks/webpack.js': false,
'**/.next/static/chunks/**': true,
'**/.next/server/app/**': true,
'**/.next/server/src/**': true,
},
Now the max memory usage is ~2000MB. Thanks for all your help sir. Feel free to close this question as it's now resolved.
We are trying to merge the code coverage reports generated in an azure pipeline by multiple jobs (playwright shards). Since the azure pipeline hosted agents are quite limited on the memory (~6GB) we get constantly to a point where the merge process of the monocart library gets stuck when we reach 100% of memory usage in the agent. I know we could try using a self hosted solution with an increased memory limit, but we were wondering if there is something that could do without incrementing our costs.
Our current pipeline setup is 5 jobs processing the sharded tests. Which usually generate code coverage reports of around ~60-100MB. After these we execute a job that downloads the artifacts and execute the merge process using the next cli command.
monocart merge monocart-report/**/index.json -c mr.config.js
Just as extra info, our current setup works perfectly on our local machines where we get the merged reports correctly.
Thanks for an awesome library!