Page 1 of 1

Access violation when using SingleProcess = True

Posted: Thu Aug 06, 2020 6:01 pm
by kewin.brand
Hey,

I have an application that uses CEF with SingleProcess = True due to excessive RAM consumption by chromium. I know that chromium have some limitations when this flag is True.
I can always simulate using the SimpleBrowserDemo (w/ SingleProgress = True) after navigating to youtube and the debugger notification always shows the same exception class $0xc000001d like:
System exception (code 0xc000001d) at ...

I also enabled logs but looks like it doesn't give anything useful, they are attached. It would be perfect if I could navigate to any page without problem.
Sorry if any vital information is missing to track the problem.

Also, thank you for the great effort to maintain Cef compatible with Delphi.

Re: Access violation when using SingleProcess = True

Posted: Sat Aug 08, 2020 8:30 am
by salvadordf
Sorry for the delayed reply.

I would suggest that you save memory using other techniques. Disable the single process mode and try this :
viewtopic.php?f=10&t=589&p=2649#p2649
viewtopic.php?t=463