cef memory stat

Do not post support requests, bug reports or feature requests. Discuss CEF here. Non-CEF related discussion goes in General Discussion!

cef memory stat

Postby krunt » Thu Sep 22, 2016 7:11 am

I've integrated cef in game engine, need a windows-only solution to capture memory consumption
of libcef.dll as a whole. I investigated that on windows release x64 - experimental shim
in base/allocator/allocator_shim.h is working, but it does not intercept VirtualAlloc*.
I think about replacing HeapAlloc,VirtualAlloc import entries for libcef.dll after its load, like:
HMODULE mod = LoadLibrary("libcef.dll");
ReplaceAllocationFunctions(mod);
Any plans to include base::allocator::InsertAllocatorDispatch() in cef api? What about VirtualAlloc*
and third party library allocations?

Thanks for suggestions
krunt
Newbie
 
Posts: 3
Joined: Wed Sep 21, 2016 9:36 am

Return to CEF Discussion

Who is online

Users browsing this forum: No registered users and 2 guests