<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - spice-gtk out of memory when guest os replay vedio"
href="https://bugs.freedesktop.org/show_bug.cgi?id=93497#c8">Comment # 8</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - spice-gtk out of memory when guest os replay vedio"
href="https://bugs.freedesktop.org/show_bug.cgi?id=93497">bug 93497</a>
from <span class="vcard"><a class="email" href="mailto:bugzilla@victortoso.com" title="Victor Toso <bugzilla@victortoso.com>"> <span class="fn">Victor Toso</span></a>
</span></b>
<pre>(In reply to linp.lin from <a href="show_bug.cgi?id=93497#c7">comment #7</a>)
<span class="quote">> 1. display_handle_stream_data:limit st->msgq len
> + /* st->msgq is full and clear queue */
> + if (g_queue_get_length(st->msgq) >= MAX_HARD_MSGQ_LEN) {
> + CHANNEL_DEBUG(channel, "st->msgq=%d and clear st->msgq",
> g_queue_get_length(st->msgq));
> + g_queue_foreach(st->msgq, _msg_in_unref_func, NULL);
> + g_queue_clear(st->msgq);
> + if (st->timeout != 0) {
> + g_source_remove(st->timeout);
> + st->timeout = 0;
> + }
> + }
> 2. use hardware decoder(hisi chip) decode jpeg,it modify "stream_mjpeg_data"
> func
> it can make cpu load down 70-80%.</span >
Great that it solved your issue. I think the patch would reviewed and improved
and land upstream. Could you either send the patch to the mailing list [1] or
just attach the format-patch here [0]
[0] git format-patch -1
[1] git send-email *.patch --<a href="mailto:to=spice-devel@lists.freedesktop.org">to=spice-devel@lists.freedesktop.org</a>
Thanks again!</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>