-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
Closed as not planned
Labels
i18n-apiIssues and PRs related to the i18n implementation.Issues and PRs related to the i18n implementation.memoryIssues and PRs related to the memory management or memory footprint.Issues and PRs related to the memory management or memory footprint.v8 engineIssues and PRs related to the V8 dependency.Issues and PRs related to the V8 dependency.
Description
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.
function newDate(){
sysTime = new Date().toLocaleTimeString('en-US')
}
setInterval(newDate, 1000);
And when I remove the parameter "en-US" of toLocaleTimeString, the program doesn't leak.
bl-ue
Metadata
Metadata
Assignees
Labels
i18n-apiIssues and PRs related to the i18n implementation.Issues and PRs related to the i18n implementation.memoryIssues and PRs related to the memory management or memory footprint.Issues and PRs related to the memory management or memory footprint.v8 engineIssues and PRs related to the V8 dependency.Issues and PRs related to the V8 dependency.