legendaryFiji Posted December 5, 2018 Share Posted December 5, 2018 Hey! Today i left my bots ran overnight and when i wake up the bot client was just closed? why? i ran 2 bots and my specs are: r5 1400, 8gb ram. Hoping for a solution! Quote Link to comment Share on other sites More sharing options...
Juggles Posted December 5, 2018 Share Posted December 5, 2018 Probably a java heap space error Quote Link to comment Share on other sites More sharing options...
legendaryFiji Posted December 5, 2018 Author Share Posted December 5, 2018 is there a way to fix that? Quote Link to comment Share on other sites More sharing options...
Mysteryy Posted December 5, 2018 Share Posted December 5, 2018 You will need to provide something useful. I dont know if osbot has any crash logs, or if you can just rely on the JVM crash logs. At minimum you should be able to get your jvm crash log. When JVM crashes it should dump out an error log with a name like 'hs_err_pid123.log' but 123 will vary depending on the process id at that time. See if you can find anything like that in your home directory, or osbot directory. The path can be changed, so it could be anywhere though. Quote Link to comment Share on other sites More sharing options...
legendaryFiji Posted December 5, 2018 Author Share Posted December 5, 2018 how do i find the home directory or osbot directory on windows? Quote Link to comment Share on other sites More sharing options...
amexy Posted December 5, 2018 Share Posted December 5, 2018 What part of the crash log is relevant enough to paste? Or do you want the whole thing Quote Link to comment Share on other sites More sharing options...
legendaryFiji Posted December 6, 2018 Author Share Posted December 6, 2018 happened again this morning, ran 4 bots and at one point the client just closed. using mirror btw. my specs are r5 1400 and 8gb ram. how do i fix that error? Quote Link to comment Share on other sites More sharing options...
fennecer Posted December 7, 2018 Share Posted December 7, 2018 (edited) The simplest way to fix this is to simply wake up half way through your botting session and restart everything (annoying.) As far as I know there is no good way to fix it short of buying more memory or botting on a VPS. Java is terrible with memory leaks and eventually the amount of heap space available becomes cluttered from the leak, eventually becoming insufficient and the program in use will crash. I don't believe its the fault of OSBot so much as it is Java as this happens with other programs I run with using Java. Also keep in mind that your bot auto-logging out as part of a break will not fix the issue. The client itself will need restarted. If I am wrong someone please tell me otherwise so I know for myself. If you're using mirror mode, by the way, I can't get mine to work properly and they will crash. The developer has apparently quit due to outside responsibilities but I believed they hired someone else recently. Edited December 7, 2018 by fennecer Quote Link to comment Share on other sites More sharing options...
dormic Posted December 10, 2018 Share Posted December 10, 2018 When my bots crash, there appears a error log in the exact same file the osbot.jar is located in Quote Link to comment Share on other sites More sharing options...