Comments (4)
The test tries to allocate a buffer of size 1e10
. This used to fail but is now possible after a V8 update.
from node.
Looks like changing this to 1e20 will fix this issue and keep the test around.
from node.
It seems to be running out of memory ...
> /usr/bin/time ./node22 test/parallel/test-buffer-failed-alloc-typed-arrays.js
(node:20905) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node22 --trace-deprecation ...` to show where the warning was created)
3.30user 9.69system 0:12.93elapsed 100%CPU (0avgtext+0avgdata 19586856maxresident)k
0inputs+0outputs (0major+6511685minor)pagefaults 0swaps
from node.
This is a regression.
With nodejs 21.7.2, the test uses only normally expected amount of memory,
/usr/bin/time ./node21 test/parallel/test-buffer-failed-alloc-typed-arrays.js
(node:15146) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Usenode21 --trace-deprecation ...
to show where the warning was created)
0.05user 0.01system 0:00.07elapsed 100%CPU (0avgtext+0avgdata 53176maxresident)k
0inputs+0outputs (0major+3173minor)pagefaults 0swaps
basically, 20G vs. 50M
from node.
Related Issues (20)
- Ambiguous steps in `PACKAGE_IMPORTS_EXPORTS_RESOLVE` reference documentation HOT 8
- Memory leak or GC overrun in sort() HOT 2
- (Discuss) `_stream_*`
- Failed to build node in windows because dependency openssl.lib didn't build
- Keep fs.exists not deprecated HOT 2
- CVE-2024-28863 in Nodejs.18 HOT 3
- Linking uses too much memory when building v22.2.0 on macOS HOT 3
- Wtn
- Estoy compartiendo 'WTN.CSV' con usted desde WPS Office
- No such built-in module: sea HOT 6
- `DOMException`s do not work with `v8.serialize()`
- In "fs.copyFile(src, dest[, mode], callback)" , for callback,'err' is not defined. HOT 5
- /rbd/pnpm-volume/040a3e2e-c162-47cf-9d77-c827c149c920/node_modules/@discordjs/util/dist/index.js:39 return () => defaultValue ??= cb(); ^^^ SyntaxError: Unexpected token '??=' at wrapSafe (internal/modules/cjs/loader.js:1001:16) at Module._compile (internal/modules/cjs/loader.js:1049:27) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10) at Module.load (internal/modules/cjs/loader.js:950:32) at Function.Module._load (internal/modules/cjs/loader.js:790:12) at Module.require (internal/modules/cjs/loader.js:974:19) at require (internal/modules/cjs/helpers.js:101:18) at Object.<anonymous> (/rbd/pnpm-volume/040a3e2e-c162-47cf-9d77-c827c149c920/node_modules/discord.js/src/index.js:3:29) at Module._compile (internal/modules/cjs/loader.js:1085:14) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10) HOT 1
- Fatal error nullptr check in AsyncModuleExecutionFulfilled HOT 1
- Inconsistent output depending on if it's piped somewhere or not HOT 4
- Build fail on macOS arm64 - ld: symbol(s) not found for architecture arm64 HOT 1
- Expose SQLite? HOT 1
- Source maps not working when source code is piped in
- Migrating from object.ref()/object.unref() to process.ref()/process.unref() HOT 2
- import sqlite3 is throwing nodejs error and killing the script HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node.