QuestionRealQuick1 Posted April 10, 2018 Report Posted April 10, 2018 (edited) Hello am trying to reduce the memory footprint of my bot.it's hitting 4-6gb at times quite high. Most of it happens on inventory loading so my idea was if there was a way to load the inventory page by pageand store the data in files rather than server memory is there anything in this that can load an inventory page by page? Edited April 10, 2018 by QuestionRealQuick1 Quote
Dr. McKay Posted April 10, 2018 Report Posted April 10, 2018 That won't do any good, you'll need to load the files into memory before you can use them anyway. Quote
QuestionRealQuick1 Posted April 10, 2018 Author Report Posted April 10, 2018 (edited) https://www.npmjs.com/package/line-by-line beside that i could also only keep the required things, haven't done any testing of this yet as i need the page thing firstguessing you rly only need the assetid of the item and some other basic info or something -is there a way to load the inventory page by page? or nah? Edited April 10, 2018 by QuestionRealQuick1 Quote
Dr. McKay Posted April 10, 2018 Report Posted April 10, 2018 No, there's no way to load the inventory page by page. Quote
QuestionRealQuick1 Posted April 10, 2018 Author Report Posted April 10, 2018 (edited) any idea of what todo to lower the memory footprint of the bot?it's quite a profit killer having to pay for major memory servers And what is required from the item to be submitted to a trade?can i just submit the asset id or? Edited April 10, 2018 by QuestionRealQuick1 Quote
Dr. McKay Posted April 11, 2018 Report Posted April 11, 2018 All you need is the appid + contextid + assetid. Quote
QuestionRealQuick1 Posted April 11, 2018 Author Report Posted April 11, 2018 great thanks -no idea how to go about lowering the memory footprint when loading inventories? 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.