Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.

How to deal with memory consumption?

Post Reply
bobpang
Posts: 21
Joined: Fri Feb 14, 2020 2:38 pm

How to deal with memory consumption?

Post by bobpang »

Recently I made a program with CEF.
The program will open multiple pages, and the cache of each page will be saved and called independently.
When the program runs, the memory consumption is huge, which may cause the whole program to jam. If you use programs like memory management, memory will be reduced a lot.
How to solve this problem? Can I make the memory of CEF smaller.

The first picture is the memory usage after opening the program.
The second picture is after using the memory management program.
Picture in attachment
You do not have the required permissions to view the files attached to this post.
User avatar
salvadordf
Posts: 4572
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: How to deal with memory consumption?

Post by salvadordf »

Hi,

Chromium is known to use a lot of RAM but you can modify some settings to use less memory.

This post is a little old but it has some useful information to reduce the RAM usage :
https://www.briskbard.com/forum/viewtop ... 2649#p2649
Post Reply