webpro 31 Posted October 20, 2013 Report Share Posted October 20, 2013 Is there a limit on the amount of data a list can contain ? I ain't sure about it but i think the bot stopped because it was at 24k of lines or so. What i did is clear the list and start again but saved the result into list2.txt on a folder on my PC (list1,txt has over 24k of lines) and everything works fine again. Quote Link to post Share on other sites
Lizzard 0 Posted October 22, 2013 Report Share Posted October 22, 2013 Yes, make it around 1k if it's a table and no more than 2k for list. Anything more will be a memory hog and will probably kill your bot. You can work around it by splitting your list into small chunk and looping around them. Like list_1.txt, list_2.txt, list_3.txt....etc and set your list file to list_#number.txt than increment it each time your each the last line of current list. The issue with reading a large list for uBot is that it tries to read the entire file before it proceeds, instead small parts as it process it. I've emailed Seth about this and he said he will feed that back to the team to address it. Quote Link to post Share on other sites
Steve 30 Posted October 22, 2013 Report Share Posted October 22, 2013 you could also look into using mysql as the database, as you can have millions of rows Quote Link to post Share on other sites
webpro 31 Posted October 22, 2013 Author Report Share Posted October 22, 2013 Thanks guys 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.