Status: New
Owner: ----
New issue 2929 by [email protected]: Memory leak related to Math.cos,
Math.sin etc
http://code.google.com/p/v8/issues/detail?id=2929
I'm seeing a small memory leak in my application that uses V8. I haven't so
far managed to reproduce it outside the application, but changing
TranscendentalCache to call Clear() when it's destroyed fixes it (see
attached patch).
E1009 15:56:19.808404 29954 heap-profile-table.cc:649] RAW: Leak of 8208
bytes in 1 objects allocated from:
@ 0x7f237b9905c6 v8::internal::TranscendentalCache::Get()
@ 0x7f237b93d561 v8::internal::__RT_impl_Runtime_Math_sin()
@ 0x7f237b93d4b6 v8::internal::Runtime_Math_sin()
@ 0x186e99c06362
....
Attachments:
v8-transcendentalcache-leak.patch 513 bytes
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.