neverhood Posted January 19, 2019 Report Posted January 19, 2019 (edited) Hello, I'm using Steam card bot, but lately I got weird problem with memory usage.Usually process using about 200MB RAM, but lately I got a lot of cards - about 100,000 and I did a lot of trades, my VPS is limited to 1GB memory, and my process going up to 1000MB+ and killing my VPS session. Edited January 22, 2019 by neverhood Quote
Dr. McKay Posted January 20, 2019 Report Posted January 20, 2019 I'm sorry to say it, but if you don't want that behavior then you shouldn't be using steam-tradeoffer-manager. The entire purpose of the module is to keep stateful track of trade offers so that relevant events can be emitted when things change, but what you're asking for is to disregard old offers and only deal with new ones. That's not what steam-tradeoffer-manager is designed to do, and you'd probably be better off using some other library to deal with trade offers if your memory limitations require you to disregard older trade offers. Quote
neverhood Posted January 20, 2019 Author Report Posted January 20, 2019 OK, Thank you for your response. 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.