Reducing RAM used by openkore

For everything NOT server specific support. Do NOT ask for connectivity help here!.

Moderator: Moderators

Message
Author
Liposo
Plain Yogurt
Plain Yogurt
Posts: 59
Joined: 20 May 2013, 02:00
Noob?: No

Reducing RAM used by openkore

#1 Post by Liposo »

Currently an OpenKore process will take up approximately 50MB of RAM.
Is there a way to reduce it? Except disabling plugins.

deca2708
Noob
Noob
Posts: 17
Joined: 19 Apr 2016, 05:16
Noob?: Yes

Re: Reducing RAM used by openkore

#2 Post by deca2708 »

Increase sleep time from 10k to 50-200k

12manytimes
Noob
Noob
Posts: 9
Joined: 14 Mar 2017, 20:47
Noob?: Yes

Re: Reducing RAM used by openkore

#3 Post by 12manytimes »

Tried this just now. Switching from 10K to 200K, CPU usage dropped a tiny bit (But it was already low, at about 2%, now it's 0-1), but memory usage only changed from 111M down to 100M, and I do believe that it had grown over time when it had been running before. Is there any other way? 100M isn't a lot, but when the OS wants 500M, and you need another 100M per Kore, that adds up quickly on a 1G machine.

Mortimal
Developers
Developers
Posts: 389
Joined: 01 Nov 2008, 15:31
Noob?: No

Re: Reducing RAM used by openkore

#4 Post by Mortimal »

Openkore is written on Perl there is no way to do this... This programing language is consuming.
Please use pin function for uploading your file contents!

12manytimes
Noob
Noob
Posts: 9
Joined: 14 Mar 2017, 20:47
Noob?: Yes

Re: Reducing RAM used by openkore

#5 Post by 12manytimes »

So then it should be possible to run multiple kore of one instance of perl. Does Kore presently use threading? If not, I may see about whipping up a patch.

Post Reply