Jump to content
UBot Underground

Will Ubot Ever Fix The Browser Memory Leak?


Recommended Posts

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???

 

 

 

Link to post
Share on other sites

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?

  • Like 2
Link to post
Share on other sites

The better question is:

 

Will Chrome fix the memory leak?  The browsers are not written by UBot?

 

Buddy

well, 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

  • Like 5
Link to post
Share on other sites

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.

  • Like 1
Link to post
Share on other sites

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 by daverawcus
Link to post
Share on other sites

 

 

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.

  • Like 1
Link to post
Share on other sites

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.

  • Like 1
Link to post
Share on other sites

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

  • Like 1
Link to post
Share on other sites

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.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...