The GNOME Shell memory leak problem has been fixed
We previously reported that the GNOME Shell was found to have a memory leak, and the official development team has also confirmed the cause of the problem. GNOME developers now indicate that the vulnerability has been fixed and will release the repaired version of the next update.
Currently, these changes are still in Git and will be released with the release of GNOME 3.30, and may also apply fixes to the old version 3.28.
The well-known GNOME developer Georges Stavracas provided a fix on this issue and confirmed that the problem originated from GJS, the GNOME JavaScript component, whose garbage collection process should have been started, but it has not.
After the repair, as soon as an object is marked as destroyed, the GJS garbage collection process is triggered. So the main memory leak problem has been solved, and the extra garbage collection cycle should not have a big impact on system performance.
Developers said that the pr was written without consideration of porting the patch to GNOME 3.28, so this can only be done later. Users using GNOME 3.28 can choose to watch or upgrade. This memory leak problem has also brought about performance improvements for GNOME.
Source: Phoronix