Bug 76605
| Summary: | LEAK : Reg.Date() function memory leak... | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | ssseintr <ssseintr2> |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | UNCONFIRMED | ||
| Severity: | Major | CC: | ap, barraclough |
| Priority: | P1 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | All | ||
| OS: | All | ||
ssseintr
Hi All,
I had found some memory leak in Date() funtion.
As per my understanding, nearly 120 bytes leaked every time when load the below script.
<script>
str ="Date : "+new Date();
</script>
This memory couldn't freed either to load next page or exit from the WebKit.
Please help me to solve this problem.
Regards,
Vicky.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
Could you please provide steps to reproduce (i.e. what metric to watch for while reloading this test script)?
ssseintr
You can see the task manager's "mem usage". Because of its small size(typically 120 bytes for each iteration) it needs continuous reloading of below script,
<script>
str ="Date : "+new Date();
</script>
In case of debug mode, valgrind provides the necessary metrics. Also putting traces in fastMalloc,fastFree shows this leak.
Oleg Smirnov
Can not reproduce this issue on latest WebKitGtk.