[cairo-bugs] [Bug 31090] New: cairo-ocaml: Cairo_lablgtk.create causes immense amounts of disk activity
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Oct 24 17:35:10 PDT 2010
https://bugs.freedesktop.org/show_bug.cgi?id=31090
Summary: cairo-ocaml: Cairo_lablgtk.create causes immense
amounts of disk activity
Product: cairo
Version: 1.10.1
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: general
AssignedTo: cworth at cworth.org
ReportedBy: colanderman at gmail.com
QAContact: cairo-bugs at cairographics.org
Created an attachment (id=39748)
--> (https://bugs.freedesktop.org/attachment.cgi?id=39748)
OCaml version (shows disk activity)
The attached OCaml program is a simple 100Hz game loop which creates
Cairo/Lablgtk contexts. Using top, it can be seen that this results in the
amount of cached filesystem data jumping up 200-300MB (and, depending on system
load, causing actual disk activity). The program itself does not actually use
much memory.
This does *not* occur in the equivalent attached C program, leading me to
believe the bug is in the OCaml bindings.
Furthermore, it should be noted that the Cairo context which is returned from
gdk_cairo_create (which in turn calls cairo_create) is *not* freed upon garbage
collection as it should be according to the cairo_create documentation.
Perhaps this is related? If not, I will open a new bug report.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the cairo-bugs
mailing list