dlclvlupbot Posted June 24, 2020 Report Posted June 24, 2020 steps I did, log in set community cookies still(200-300mb) set manager cookies(1.1-1.2gb) after 10-15minutes, node instance crash with core dump nothing else has been started in bot script Quote
Dr. McKay Posted June 25, 2020 Report Posted June 25, 2020 You might need to delete your poll data. Quote
Dr. McKay Posted June 28, 2020 Report Posted June 28, 2020 It's in the directory pertaining to your platform as documented here, although replace "node-steamuser" with "node-steam-tradeoffer-manager". Quote
dlclvlupbot Posted June 30, 2020 Author Report Posted June 30, 2020 sorry for taking too long to reply so, I deleted everything from the directory and the directory itself it is still running around 1.5-1.8gb ram eventhough there's literally no tradable items in the said account compared to the new account where I transferred all of the items, running the same script with just 300-500mb of ram(the buggy account is only run until saving trade-offer-manager cookies) Quote
Dr. McKay Posted July 1, 2020 Report Posted July 1, 2020 Does it have tons of trade offers in its near history or something? Quote
dlclvlupbot Posted July 1, 2020 Author Report Posted July 1, 2020 (edited) it has 250 incoming offer history and 500 sent offer history edit: no pending for both category Edited July 1, 2020 by dlclvlupbot Quote
Dr. McKay Posted July 1, 2020 Report Posted July 1, 2020 That could contribute to memory usage for sure. Quote
dlclvlupbot Posted July 1, 2020 Author Report Posted July 1, 2020 is there a way to clear them up? btw: here's my instance of tradeoffermanger steamtrademanager = new TradeOfferManager({ 'steam': steam, 'language': 'en', 'pollInterval': 5 * 1 * 1000, 'cancelTime': 1000 * 60 * settings.canceltime,// has value of 30 'pendingCancelTime': 1000 * 60 * settings.pendingcanceltime // has value of 1 }); Quote
Dr. McKay Posted July 1, 2020 Report Posted July 1, 2020 (edited) Removing the language from the constructor will certainly reduce memory usage if that's a huge concern for you, but of course you'll lose item description data. If all you really need is the items' asset IDs, then that will work. Edited July 1, 2020 by Dr. McKay Quote
dlclvlupbot Posted July 1, 2020 Author Report Posted July 1, 2020 but that wont fix the cookies problem from the account? Quote
dlclvlupbot Posted July 1, 2020 Author Report Posted July 1, 2020 I am okay with it running 1.5gb2gb but then after around 10-20minutes it crashes with core dump and i have a 3gb server. Quote
Dr. McKay Posted July 2, 2020 Report Posted July 2, 2020 (edited) Keeping data about item descriptions in memory is going to use memory. You can try lowering assetCacheMaxItems. Edited July 2, 2020 by Dr. McKay Quote
dlclvlupbot Posted July 3, 2020 Author Report Posted July 3, 2020 (edited) is it possible to get item descriptions without specifying language in the constructor? edit: Quote Removing the language from the constructor will certainly reduce memory usage if that's a huge concern for you, but of course you'll lose item description data. If all you really need is the items' asset IDs, then that will work. forgot about this On 7/2/2020 at 8:36 AM, Dr. McKay said: Keeping data about item descriptions in memory is going to use memory. You can try lowering assetCacheMaxItems. if I set it to 0 and i set a directory in dataDirectory, will it save me memory usage or 0 and 500 does not have much difference? Edited July 3, 2020 by dlclvlupbot Quote
dlclvlupbot Posted July 4, 2020 Author Report Posted July 4, 2020 i think i'll just have to do it via commands since the bot can access item's market name and market hash name even without specifying language in the constructor. btw is it okay to set language in the constructor as blank or really have to remove the language option upon instantiating it? because i want to run my bot with the option of having it enabled or not and access the language from a json file, blank to disable and en to set Quote
Dr. McKay Posted July 4, 2020 Report Posted July 4, 2020 If the language is specified at all, it's going to retrieve item descriptions from Steam. Quote
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.
Note: Your post will require moderator approval before it will be visible.