Anuken / Mindustry-Suggestions

Repository for Mindustry suggestions and feedback
125 stars 57 forks source link

Less memory usage on launch? #5070

Closed GalaxiumNation closed 2 weeks ago

GalaxiumNation commented 2 weeks ago

Describe what you would like changed, and why.

Would it be possible to trim the memory usage down? I ask because since the game is supported on such old android versions (please don't remove compatibility with them 🥺) some devices have the potential to actually run it. But because the old devices have like 2-4gb of memory, they can't actually run the game and the game crashes when it tries to load 🥲

Describe the changes you want to propose. Include possible alternatives.

optimize memory usage when launching so it uses at least 2GB instead of the 6-8gb it normally does

buthed010203 commented 2 weeks ago

How many mods are you even running to get memory usage that high

camelStyleUser commented 2 weeks ago

how many mods are you using

buthed010203 commented 2 weeks ago

I love asking the same thing twice

camelStyleUser commented 2 weeks ago

it runs on my android 4.4 with 1 gb of ram not that good, but it still runs

camelStyleUser commented 2 weeks ago

and my newer phone only has 3 gb of ram so 2-4gb of ram isnt bad

camelStyleUser commented 2 weeks ago

and if you are talking about internal storage, mindustry with a few saves only takes up ~100mb

GalaxiumNation commented 2 weeks ago

Well... thats the thing.

I'm not using any...

buthed010203 commented 2 weeks ago

You must have the wrong mindustry or something, it should never approach 8GB of memory usage

camelStyleUser commented 2 weeks ago

and might i ask where did you pull out the 8gb figure?

GalaxiumNation commented 2 weeks ago

I installed directly from the github page and installed it on a pretty old tablet Using the dev options in system settings I can view running apps and their memory usage

buthed010203 commented 2 weeks ago

Android releases aren't even published in the main repo...

camelStyleUser commented 2 weeks ago

I installed directly from the github page and installed it on a pretty old tablet Using the dev options in system settings I can view running apps and their memory usage

its certainly not using 8gb of storage or ram at most 1gb of ram(128mb seems much more reasonable considering my limited testing on desktop version, and i just checked it on my 4.4 phone and guess what its half my estimate, 64 mb) and a few hundred megabytes of storage you must have gotten the numbers wrong,because mindustry on my 4.4 android works and it doesnt take up 8 or 6 gb of internal mem,hell 8 gb is the whole internal storage of this thing so if it did my 4.4 phone would have never ran it

itcannotbe commented 2 weeks ago

Android releases aren't even published in the main repo...

There is only one thing I know off that official and has an apk on GitHub.

It's gotta BE.

camelStyleUser commented 2 weeks ago

Android releases aren't even published in the main repo...

There is only one thing I know off that official and has an apk on GitHub.

It's gotta BE.

and all the things i said so far are tested on BE

SMOLKEYS commented 2 weeks ago

6-8gb it normally does

Where did you get this information? This game runs perfectly fine on my old 4GB Galaxy S8 and current (also 4GB) Realme-C21Y. I can also pack some heavy mods in there, which increases the loading time, but otherwise, it still loads mostly fine.

camelStyleUser commented 2 weeks ago

6-8gb it normally does

Where did you get this information? This game runs perfectly fine on my old 4GB Galaxy S8 and current (also 4GB) Realme-C21Y. I can also pack some heavy mods in there, which increases the loading time, but otherwise, it still loads mostly fine.

probably pulled it out of thin air i am running BE on my old 4.4 1gb ram 8gb internal storage(also used by system apps) phone

GalaxiumNation commented 2 weeks ago

nvm I stupid Dont listen to me :/