After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 728048 - Ratelimit RSS-triggered GCs
Ratelimit RSS-triggered GCs
Status: RESOLVED FIXED
Product: gjs
Classification: Bindings
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gjs-maint
gjs-maint
Depends on:
Blocks:
 
 
Reported: 2014-04-11 17:25 UTC by Giovanni Campagna
Modified: 2014-04-11 19:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Ratelimit RSS-triggered GCs (1.78 KB, patch)
2014-04-11 17:25 UTC, Giovanni Campagna
committed Details | Review

Description Giovanni Campagna 2014-04-11 17:25:25 UTC
When loading a lot of data in memory (for example in the shell
opening the overview, which loads all the desktop files and icons)
the RSS can increase a lot, so we would trigger GCs continously
without any hope of freeing memory, so ratelimit full GCs to at
most one every 5 frames.
Comment 1 Giovanni Campagna 2014-04-11 17:25:27 UTC
Created attachment 274120 [details] [review]
Ratelimit RSS-triggered GCs
Comment 2 Cosimo Cecchi 2014-04-11 17:31:08 UTC
Review of attachment 274120 [details] [review]:

Sounds good.
Comment 3 Giovanni Campagna 2014-04-11 19:02:46 UTC
Attachment 274120 [details] pushed as 791b1a3 - Ratelimit RSS-triggered GCs