Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: MemoryLeak despite disposing of V8 Script Engines

0
0
Got it! Here's a much better call stack. After a few thousand iterations in my system (which equates to a few thousand events being raised -- e.g. js callbacks being called), I end up with almost 200 threads stuck at the same place:
0:000> ~197 kb
RetAddr           : Args to Child                                                           : Call Site
000007fe`fda210dc : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : ntdll!NtWaitForSingleObject+0xa
000007fe`c59e6989 : 00000000`747e3880 00000000`00000000 00000000`00000000 00000000`000006e0 : KERNELBASE!WaitForSingleObjectEx+0x79
000007fe`c5bffc20 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : v8_x64!v8::internal::OptimizingCompilerThread::Run+0x59 [d:\git\clearscript\clearscript\v8\v8\build\v8-x64\src\optimizing-compiler-thread.cc @ 132]
000007fe`f2b74f7f : 00000000`1e35c9d0 00000000`00000000 00000000`00000000 00000000`00000000 : v8_x64!v8::base::ThreadEntry+0x20 [d:\git\clearscript\clearscript\v8\v8\build\v8-x64\src\base\platform\platform-win32.cc @ 1296]
000007fe`f2b75126 : 000007fe`f2c2cb80 00000000`00000000 00000000`00000000 00000000`00000000 : msvcr120!_callthreadstartex+0x17 [f:\dd\vctools\crt\crtw32\startup\threadex.c @ 376]
00000000`77a459cd : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : msvcr120!_threadstartex+0x102 [f:\dd\vctools\crt\crtw32\startup\threadex.c @ 354]
00000000`77c7b981 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : kernel32!BaseThreadInitThunk+0xd
00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : ntdll!RtlUserThreadStart+0x1d

Viewing all articles
Browse latest Browse all 2297

Latest Images

Trending Articles





Latest Images