LIBCEF / NUI Crashes/reloads

Environment questions

GTA V version: latest
Up to date: yes
Legit or Pirate copy: legit
Purchased where - Steam/Rockstar Launcher/Epic: Rockstar Warehouse
Windows version: Microsoft Windows 11 Pro - 10.0.22621 N/A Build 22621
Did you try to delete content_index.xml and try again?: yes
System specifications: 12900 - rtx 3070 - 32gig ram
CitizenFX crash zip file (‘Save information’ on a crash): there is none visible crash report
logs/CitizenFX_log files: Process crash captured. Crash dialog content: KERNELBASE.dll!RaiseException (0x69) Ein Fehler bei KERNELBASE.dll!RaiseException (0x69) hat verursacht, dass FiveM nicht mehr funktioniert. Ein Absturzbericht wird an die FiveM Entwickler hochgeladen. Stack trace: KERNELBASE.dll!RaiseException (0x69) libcef.dll!base::internal::OnNoMemoryInternal (0x2a) (memory.cc:42) libcef.dll!base::TerminateBecauseOutOfMemory (0x8) (memory.cc:69) libcef.dll!partition_alloc::internal::OnNoMemory (0x14) (oom.cc:19) libcef.dll!blink::ReportV8OOMError (0x11b) (v8_initializer.cc:690) libcef.dll!v8::Utils::ReportOOMFailure (0x22) (api.cc:355) libcef.dll!v8::internal::V8::FatalProcessOutOfMemory (0x355) (api.cc:311)
.dmp files/report IDs: none

Important parts

What is the issue you’re having?
Game is lagging for a second then ALL NUI’s are reloading.
It indicates that CEF gone OOM.
What are you trying to do?
just normal playing even not using any NUI
What have you tried already to fix the issue?
disabling all NUIs and reeanble one after another but its not frequent enough to find it this way
Error screenshot (if any):
none :c
What did you do to get this issue?
nothing at all
What server did you get this issue on? Be specific and name some, ‘all of them’ by itself isn’t useful!
my own server: DieInsel BETA (insel.gg)


Additional comments

We experience this throughout the day for 6 weeks now.
NUIs are reloading out of the sudden and players will get kicked out of Salty (which is expected if NUIs are reloading so its not salty related but we can see it clearly if its disconnecting)
Is there any way to debug this? Like to see the amount of used RAM for each NUI?

Hello, this is a friendly reminder because this is your first time creating a topic (or it has been a while since your last topic) in this category.

Please note that most of the support is provided by the Cfx.re community on a voluntary basis. We ask you to be patient; there is no guarantee we have a solution to your problem(s). To avoid unnecessary/duplicate topics, please browse the forums before creating a topic.

To improve your chances of your issue(s) being solved, please provide as much information as possible about the issue(s) you are having. Also —whenever possible— please use the template given to you when creating a topic.

Thanks for keeping these forums tidy!
:mascot:

I’m going to guess you’re using this one known thing that memory leaks:

Other than that, the memory tab in devtools.

1 Like

Several people reported an outdated version of lb-phone (if this is relevant for you) was causing CEF to crash; one of the developers confirmed there was a memory leak.

1 Like

indeed it was lbphone.

Bro, literally you saved our project, at least many days of debugging.

:heart:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.