Closed as not planned
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.