m4rr3co 67 Share Posted April 28, 2020 After around 2 to 3 hours from starting to build scripts and test them, I noticed the db client starts to take a big percentage of my CPU even if I'm not running any script. Any hints on how to avoid that? Link to comment Share on other sites More sharing options...
yeeter 513 Share Posted April 28, 2020 did someone say memory leaks?!??!?!? Link to comment Share on other sites More sharing options...
Leanche 2 Share Posted April 28, 2020 It is most likely your script. Are you starting any new threads with infinite loops or something ? Link to comment Share on other sites More sharing options...
m4rr3co 67 Author Share Posted April 29, 2020 17 hours ago, yeeter01 said: did someone say memory leaks?!??!?!? could you elaborate just a little more? i'm still quite new to scripting, but am using the treescript interface i saw around (i have no idea if that has anything to do with that issue you said haha) 16 hours ago, Leanche said: It is most likely your script. Are you starting any new threads with infinite loops or something ? negative, nothing like that, im really trying my best to avoid "script traps" that the bot would not be able to scape from... but is there a way to check opened threads and close them or something like this? i really just need one or two references i can study from haha, from there i can go by myself thanks a lot for the answers guys =D Link to comment Share on other sites More sharing options...
Articron 738 Share Posted April 29, 2020 The memory hogs are most likely coming from your script. Make sure you cache data as much as possible. Link to comment Share on other sites More sharing options...
m4rr3co 67 Author Share Posted April 29, 2020 19 minutes ago, Articron said: The memory hogs are most likely coming from your script. Make sure you cache data as much as possible. Thanks a lot for the answer... I'll take a look at your suggestion =D Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.