This is a temporary fix to remove that error message and remedy any stuttering/lag you may be experiencing. To truly fix this issue permanently, you will to better optimize your project (Which there are so many factors that go into this that I cannot explain in just a short video). The second option may be to upgrade your hardware. Usually, the first option may suffice, but if you're working on a big project, especially with Photorealistic graphics, you'll need hardware capable of handling it.
Message me in the comments if you have any questions on anything discussed or anything I may have not even mentioned but could have.
If you're wanting to support my work, consider becoming a "Supporter" on my Patreon:
patreon.com/barcodedev
Feel Free to follow me on my other Socials:
https://withkoji.com/@Barcode