Comments (3)
The amount of RAM selfbot uses depends on how many servers you're in, how many users you can 'see' at any given time, and how many channels exist across all your servers (regardless if you can access them or not), and how many messages you receive.
I would suggest providing these metrics with this issue.
from selfbot.
Other things that would also contribute to using more memory:
- Number of friends/pending friends/blocked users
- Number of open DMs
- Number of members/roles/channels/permission overrides/etc for all guilds you are in
Also, keep in mind that the JVM (Java Virtual Machine) assigns itself memory to work with, even if it's not necessarily using all of it. I don't recommend changing any settings (as usually it does best if allowed to expand + contract on its own), but you can use the -Xmx200m
flag (for example) to limit it to 200mb. I would say to avoid this though, because the bot might fail to load or stop responding if it cannot load everything it needs.
from selfbot.
I guess its just normal Java thing.
These are the details:
- 42 servers (563 channels) (42937 users)
- 60 friends (12 online)
Bot is using:
rt=Java.type("java.lang.Runtime").getRuntime();total=rt.totalMemory()/1024/1024;used=total - (rt.freeMemory()/1024/1024);str=used+"mb / "+total+"mb";
Evaluated Successfully:
229.20294189453125mb / 247.5mb
thanks @shikhir-arora to help me find these details.
from selfbot.
Related Issues (20)
- Out of memory error, heap space HOT 6
- Suggestion: Add a warning about the Discord ToS to the top of the README.md HOT 2
- What are the timezone keys for it now? HOT 1
- Auto sending of messages HOT 2
- Allow the selfbot to work on bots too! HOT 2
- Selfbot not working HOT 6
- Where do I find Todo List and Custom Emoji download? HOT 6
- Help with custom emoji's HOT 2
- [Suggestion] Ability to set countdown clock and timers HOT 1
- Ability to make notes
- Sending two messages HOT 11
- config.txt and JSelfBot.jar arent downloaded HOT 1
- Error message when starting HOT 10
- Animated emojis, and a suggestion. HOT 4
- How do i change my status to 'Watching'? HOT 1
- Suggestions, Feature Requests
- Suggestion: Remove the "deleting x messages" message
- When opening Run.bat, gives an error HOT 3
- Issue with run HOT 1
- How to make embedded messages? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from selfbot.