High memory/cpu usage
Moderator: Moderators
-
- Noob
- Posts: 4
- Joined: 12 Jul 2012, 06:50
- Noob?: Yes
High memory/cpu usage
As topic, I found out that the current version uses lots of memory, around 40k~60k memory use, and high CPU usage especially bots with macros, any ideas or suggestion to cut down the memory usage? I saw someone post his memory usage around only 10k~20k
-
- Human
- Posts: 24
- Joined: 18 Jul 2012, 11:48
- Noob?: No
Re: High memory/cpu usage
Try increasing your sleepTime in your config.txt
-
- Human
- Posts: 36
- Joined: 05 Mar 2009, 07:47
- Noob?: Yes
Re: High memory/cpu usage
increase sleeptime in config,the higher the sleep time value lesser itl take cpu usage.
but the makes the bot a bit unresponsive.i suggest if you have bot vendors make it 1m sleeptime
make it rely on macro
but the makes the bot a bit unresponsive.i suggest if you have bot vendors make it 1m sleeptime

-
- Halfway to Eternity
- Posts: 398
- Joined: 08 Jun 2012, 15:42
- Noob?: No
- Location: Brazil
Re: High memory/cpu usage
[EN]
Macros consume more memory than plugins.
If you convert your code to plugins, improve performance.
[PT-BR]
Macros consomem mais memória que plugins.
Se você converter seus códigos para plugins, melhorará o desempenho.
Macros consume more memory than plugins.
If you convert your code to plugins, improve performance.
[PT-BR]
Macros consomem mais memória que plugins.
Se você converter seus códigos para plugins, melhorará o desempenho.
-
- Human
- Posts: 36
- Joined: 05 Mar 2009, 07:47
- Noob?: Yes
Re: High memory/cpu usage
yeah but merchants do little macro over periods of time..it increases usage when it triggers but when it doesnt its basicly nothing
-
- Noob
- Posts: 4
- Joined: 12 Jul 2012, 06:50
- Noob?: Yes
Re: High memory/cpu usage
tried all of it, managed to cut down the memory usage up to 14k~30k
about the macro to plugins...how to make it? and how to execute it? i'm new to this plugins thing
about the macro to plugins...how to make it? and how to execute it? i'm new to this plugins thing
-
- Noob
- Posts: 4
- Joined: 12 Jul 2012, 06:50
- Noob?: Yes
Re: High memory/cpu usage
i noticed that initially the memory usage is around 50k, but over a certain time the usage decreases to 17k, i turned off the recorders (logchat,portal record) and set verbose to -1... i wonder whether the changes i made have any effects, most of my friends tried it but it does not work for them