Page 1 of 1

So fish=ups killer and grass=memory eater

Posted: Sat Sep 16, 2017 4:55 am
by bp3959
Deleting fish from my map took me from 157,000 active entities down to 41,000 and dropped cpu usage by 20%. Deleting grass/decorations dropped my map size from 122MB to 80MB and RAM usage went from almost 8GB down to 5.1GB.

Any plans to optimize these things?

Re: So fish=ups killer and grass=memory eater

Posted: Sat Sep 16, 2017 9:42 am
by orzelek
Which game version you are using?
Decorations were modified in version 0.15 to take much less memory.

Fish are a new one I think - there were seriously that many of them?

Re: So fish=ups killer and grass=memory eater

Posted: Sat Sep 16, 2017 9:53 am
by Koub
If I may suggest, you should post your save here :
viewtopic.php?f=5&t=17501

Re: So fish=ups killer and grass=memory eater

Posted: Sat Sep 16, 2017 10:06 am
by Rseding91
bp3959 wrote:Deleting fish from my map took me from 157,000 active entities down to 41,000 and dropped cpu usage by 20%.
The "active entities" counter is the total number of entities in the world that *can* be active - not the total actually active.

As for the "dropped cpu usage by 20%" - I don't believe you. Fish take zero CPU time unless a player is standing next to them and unless you're on a MP game with 50 players standing next to excessive amounts of fish there's no way they would take up 20% of the CPU time.
bp3959 wrote:Any plans to optimize these things?
They are optimized: fish don't go active unless a player stands next to them and decoratives are extremely compact for what they provide.

They will of course always take > 0 space - that's how games work :) If you want anything then it takes some resources. If we strip out all of the bells and whisles from the game you end up with http://factoryidle.com/ :P

Re: So fish=ups killer and grass=memory eater

Posted: Sat Sep 16, 2017 5:33 pm
by Rakshasa
Rseding91 wrote:They will of course always take > 0 space - that's how games work :) If you want anything then it takes some resources. If we strip out all of the bells and whisles from the game you end up with http://factoryidle.com/ :P
Oh ffs you bastard, why did you link that?

Re: So fish=ups killer and grass=memory eater

Posted: Sat Sep 16, 2017 6:20 pm
by orzelek
Rakshasa wrote:
Rseding91 wrote:They will of course always take > 0 space - that's how games work :) If you want anything then it takes some resources. If we strip out all of the bells and whisles from the game you end up with http://factoryidle.com/ :P
Oh ffs you bastard, why did you link that?
Took those out of my fingers...
You evil Rseding with tempting links :P

Re: So fish=ups killer and grass=memory eater

Posted: Sat Sep 23, 2017 10:55 am
by featherwinglove
Rseding91 wrote:If we strip out all of the bells and whisles from the game you end up with http://factoryidle.com/ :P
Except that there are bells and whistles to strip even from that!

Re: So fish=ups killer and grass=memory eater

Posted: Mon Oct 09, 2017 2:47 pm
by TRUEpicness
i actually have a kongregate account and played that but after a while it gets very boring

Re: So fish=ups killer and grass=memory eater

Posted: Mon Oct 09, 2017 8:19 pm
by neocortex92
Rseding91 wrote:If we strip out all of the bells and whisles from the game you end up with http://factoryidle.com/ :P
Haha, laughed more than I should have.

Re: So fish=ups killer and grass=memory eater

Posted: Tue Oct 17, 2017 3:47 am
by featherwinglove
TRUEpicness wrote:i actually have a kongregate account and played that but after a while it gets very boring
I have the perfect solution: drama about it getting boring after a while :mrgreen: