Jump to content
McKay Development

Recommended Posts

Posted (edited)

Hi, I created a bot that only have task to auto accept trade and deployed it in 2GB Linux VPS. When I start the bot it's fine, but after about 10-20 seconds, the memory usage will spike until max and the bot crashed. I tried to run in my local that have 16GB RAM and I noticed the same spike at every 10-20 seconds interval and will eat around 1.5GB-2GBish of the RAM. So my question is the requirement for RAM must be higher than 2GB or I did something wrong? For reference, my code almost the same as in https://github.com/prasunroy/steam-bot/blob/master/bot.js . I deleted everything and left only the part of "manager.on('newOffer')".

Edited by TradeSampah
Posted

Memory usage is normal when you're specifying a language to the TradeOfferManager constructor, which retrieves item descriptions automatically. If you have very limited memory and are processing a lot of trades, then you want to omit your language to opt out of receiving item descriptions.

  • 2 weeks later...

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.

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