Bug 35841 - Bustle lazily evaluates all my memory
Summary: Bustle lazily evaluates all my memory
Status: RESOLVED MOVED
Alias: None
Product: Bustle
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Will Thompson
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-31 10:45 UTC by Sjoerd Simons
Modified: 2018-05-31 09:08 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Sjoerd Simons 2011-03-31 10:45:59 UTC
I've got a bustle-dbus-monitor output file of 50000 lines, when rendering this in bustle it takes a while and ends up with a bustle using 850MB of RES memory.. 

a silly calculation show that means it's using at least 18 kilobyte per line.. (Assuming it's O(N) memory usage for N lines ofcourse). This seems a tad much :)
Comment 1 Will Thompson 2012-04-22 16:14:18 UTC
Yeah, you're not wrong. It's pretty ridiculous.

The switch to reading pcap files has improved matters substantially. Following on from that, I've been moving to using packed arrays of bytes rather than lists of characters (grr) which has shaved a bit more off. And I got a surprisingly big improvement by representing the per-application vertical lines less stupidly.

Still at an astonishing 5 kilobytes per line on my current sample log, though.
Comment 2 GitLab Migration User 2018-05-31 09:08:11 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/bustle/bustle/issues/11.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.