daverawcus 6 Posted September 4, 2018 Report Share Posted September 4, 2018 Will Ubot ever fix the browser memory leak? I know most people use Exbrowser But the UI still uses Ubots browser so crashes after a set period of time I know you can restart your bots to solve this but shouldn't this just be fixed??? Quote Link to post Share on other sites
Sanjeev 46 Posted September 4, 2018 Report Share Posted September 4, 2018 What you said is Very true. But now that they do not seem to be up to it - one option which comes to my mind is a separate UI created via C# which can control ubot or talk to it via HTTP post? One of the plugin maker already has a prototype in place for such UI - I read on some thread.. I don't understand why he doesn't release it? 2 Quote Link to post Share on other sites
UBotBuddy 331 Posted September 4, 2018 Report Share Posted September 4, 2018 The better question is: Will Chrome fix the memory leak? The browsers are not written by UBot? Buddy Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted September 4, 2018 Report Share Posted September 4, 2018 The better question is: Will Chrome fix the memory leak? The browsers are not written by UBot? Buddywell, cef sharp is in the mid 60's(65 at the time of this post) on their version while ubot is still using what version??49 So, yes!! UBot is way behind and could do much better at keeping up. They should be able to keep up to at least 2-3 versions behind.They are currently 19 updates behind!!!!!! Regards,CD 5 Quote Link to post Share on other sites
Frank 177 Posted September 5, 2018 Report Share Posted September 5, 2018 I've switched over to exbrowser to cover the issues. Even that isn't a perfect solution but web automation isn't a perfect world. Quote Link to post Share on other sites
daverawcus 6 Posted September 6, 2018 Author Report Share Posted September 6, 2018 Yeah I use Exbrowser for all automation Its just the UI thats the problem Although am testing os free memory from browser command and it seems to keep the UI browser.exe constant Quote Link to post Share on other sites
HelloInsomnia 1103 Posted September 6, 2018 Report Share Posted September 6, 2018 When you start your bot you can kill the process UbotCefSharpBrowser.exe and then use XAML UI plugin which I believe kills the Browser.exe process as well. And you should be left without any Ubot browsers running. Maybe somebody else can try this and see if they get the same result as me. 1 Quote Link to post Share on other sites
daverawcus 6 Posted September 7, 2018 Author Report Share Posted September 7, 2018 (edited) How do you kill the process UbotCefSharpBrowser.exe ? As this resets the browser memory so could do this on a loop or can you disable it from loading with any plugin? It would be great if someone made a plugin that loads html UI in a stable browser window Edited September 7, 2018 by daverawcus Quote Link to post Share on other sites
Sanjeev 46 Posted September 7, 2018 Report Share Posted September 7, 2018 How do you kill the process UbotCefSharpBrowser.exe ? I have tried using Taskill command to end that process via shell - it doesn't work. try running this and see - shell("TASKKILL /F /IM UBotCefSharpBrowser.exe /T") @helloinsomnia suggested - Pashs 'Adavnced system' plugin.. for that purpose...says it works. 1 Quote Link to post Share on other sites
HelloInsomnia 1103 Posted September 7, 2018 Report Share Posted September 7, 2018 For the record I was using this: on load("Bot Loaded") { plugin command("Advanced Systems.dll", "system process actions", "UbotCefSharpBrowser.exe", "Kill") alert("browser should be killed") } Seems to work just fine and if you use XAML UI then Browser.exe won't start either. 1 Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted September 7, 2018 Report Share Posted September 7, 2018 If you have access to python/ironpython alert($python result("","import subprocess subprocess.call(\"TASKKILL /F /IM UBotCefSharpBrowser.exe /T\", shell=True) ")) If it returns a 0(zero) it worked. A 1(one) indicates something went wrong and did not execute. Regards,CD 1 Quote Link to post Share on other sites
Sanjeev 46 Posted September 7, 2018 Report Share Posted September 7, 2018 If it returns a 0(zero) it worked. A 1(one) I think @Heopas has a 'process exists ' in his free plugin - works the same way.. Quote Link to post Share on other sites
HelloInsomnia 1103 Posted September 7, 2018 Report Share Posted September 7, 2018 If you have access to python/ironpython alert($python result("","import subprocess subprocess.call(\"TASKKILL /F /IM UBotCefSharpBrowser.exe /T\", shell=True) ")) If it returns a 0(zero) it worked. A 1(one) indicates something went wrong and did not execute. Regards,CD The problem with doing that or just using shell is that the process will restart, try it for yourself. Pash's plugin actually kills it, and if you try to kill it using the Process class in C# you will see that it's actually killed. Similar to how you manually terminate a process in task manager. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.