home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
General Support
Is the Compress plugin working for anyone?
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="ziphnor" data-source="post: 29237" data-attributes="member: 14215"><p>Seems its the GC.GetTotalMemory(true) call in GUIWindow OnMessage thats hanging up the GUI when it gets a GUI_MSG_WINDOW_DEINIT message:</p><p></p><p>[code]long lTotalMemory = GC.GetTotalMemory(true);</p><p>Log.Write("window:{0} GC.GetTotalMemory done", this.ToString());</p><p>Log.Write("Total Memory allocated:{0}", MediaPortal.Util.Utils.GetSize(lTotalMemory));[/code]</p><p></p><p>If i remove this, the problem goes away and i can freely navigate the GUI while its compressing. According to the documentation the GetTotalMemory call with true as argument will wait for the next full garbage collection:</p><p></p><p>" // Parameters:</p><p> // forceFullCollection:</p><p> // A Boolean value which, if true, indicates that this method can wait for garbage</p><p> // collection to occur before returning."</p><p></p><p>For some reason the transcoding job prevents this call from returning.</p><p></p><p>Of course making the change directly in GUIWindow makes it take effect for all GUIWindow derived classes.</p></blockquote><p></p>
[QUOTE="ziphnor, post: 29237, member: 14215"] Seems its the GC.GetTotalMemory(true) call in GUIWindow OnMessage thats hanging up the GUI when it gets a GUI_MSG_WINDOW_DEINIT message: [code]long lTotalMemory = GC.GetTotalMemory(true); Log.Write("window:{0} GC.GetTotalMemory done", this.ToString()); Log.Write("Total Memory allocated:{0}", MediaPortal.Util.Utils.GetSize(lTotalMemory));[/code] If i remove this, the problem goes away and i can freely navigate the GUI while its compressing. According to the documentation the GetTotalMemory call with true as argument will wait for the next full garbage collection: " // Parameters: // forceFullCollection: // A Boolean value which, if true, indicates that this method can wait for garbage // collection to occur before returning." For some reason the transcoding job prevents this call from returning. Of course making the change directly in GUIWindow makes it take effect for all GUIWindow derived classes. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
General Support
Is the Compress plugin working for anyone?
Contact us
RSS
Top
Bottom