Couple questions

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Couple questions

Postby Allonii » Fri Nov 04, 2011 7:41 pm

Hello!

I'm new to this forum and first would like to thank magreen for a great framework.

I have couple questions/problems,

1. When you build libcef_dll_wrapper in release mode you get a ~5 mb lib file which works great when linking against it but as soon as you build it in debug mode you get a ~144 kb file and the linker complains about every cef function I call. Are there any problems with the debug settings? (using vc2008)

2. When I go to sites with a lot of images and some flash for instance http://www.aftonbladet.se the memory usage goes up to ~150 mb and the cpu keeps working all the time even when I minimize the whole frame. Is this normal? I mean what is chromium doing with the cpu and memory all the time?

EDIT: The cpu and memory usage got much better when setting the cache directory, so I guess it saves the cache to files instead of using memory.

3. When you visit http://www.dn.se and wait while the page is loading then the whole application freezes for about 10 seconds and then it starts working again. The page works great with firefox, ie etc.This might be a bug and can be confirmed by using the cefclient. The log says,

[1105/010710:INFO:CONSOLE(0)] "[cycle] terminating; zero elements found by selector," source: http://www.dn.se/jquery/js/jquery.cycle.all.min.js(10)

4. I have read on the forum that its currently not supported to CefInitialize()/CefShutdown() multiple times. Since this is quite important for me, Does anyone know how to overcome this? I mean is there another way to allow the application to shut down cef and restart it later?

Thanks

P.S The two pages mentioned above are ranked top 15 in sweden (alexa.com), so they are not some random websites.
Allonii
Newbie
 
Posts: 4
Joined: Fri Nov 04, 2011 7:13 pm

Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 38 guests