-
Notifications
You must be signed in to change notification settings - Fork 30.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory Leak on v16.0.0-pre #38958
Comments
This comment has been minimized.
This comment has been minimized.
Does the issue happened on v16.3.0 or master(v17.0.0-pre)? |
@Ayase-252 Hi Here is the test result: |
@luhuaipei |
@Ayase-252 Thanks. I cherry-picked the patch to my local, the issue still exists. Do you have other suggestions? |
@luhuaipei Sorry, I don't have a clue now. cc @nodejs/i18n-api |
It seems the issue resides in v8. I use the d8 tool in V8(version 8.8.6) can reproduce this issue. In d8 console, every time I execute
The Rss section will increase by 52-56Kb. |
@nodejs/v8 |
This patch indroduced the fix in v8 version(8.9.1) |
@gsathya Can you take a look ? |
cc @verwaest Is this you can help ? |
Hi All, setInterval(getTime,2000) ` |
@nikikalwar the best way to fix it would be to take a look at the commit v8/v8@4b139f7 and figure out just what in that commit started making it so slow. |
Closing as v14.x is EoL. |
The pss/rss of the heap in /proc/pid/smaps will increase about 52k every time when I execute following code:
Please help to figure it out.
Thanks.
And when I remove the parameter "en-US" of toLocaleTimeString, the program doesn't leak.
The text was updated successfully, but these errors were encountered: