[Q] VM heap size - Motorola Droid and Milestone General

ROM: CM6 from 08.12.2010
Overclocking: Interactive governor : 1000mhz : vsel 62
Launcher: Launcher Pro
Note: I disabled "keep home in memory"
I was using 800mhz with 52 vsel and vm heap size 32 and I wanted to test an app "TV Flash"
It's an app that plays tv through flash and I was keep getting app crashes everytime I played my favorite channel.
I overclocked as mentioned above (1000mhz ....) and I set the vm heap size to 50m.
I believe this is the amount of ram that can be alocated to an app. Am i right?
Now my favorite channel plays flawless.
My question is:
Is there a problem of keeping the vm heap size to 50m, 64m?
Thanks guys!

Nope, no problems. Just that you'll run out of memory very quickly if you do something intensive.

Lollipop_Lawlipop said:
Nope, no problems. Just that you'll run out of memory very quickly if you do something intensive.
Click to expand...
Click to collapse
Well then...It seems that I missunderstood what vm heap size is!
Can you please explain and recommend a way so I wont run out of ram when watching live streams?
And do you think that the release of froyo will fix this issue?

There's nothing you can really do about it. You'll just have home reloaded and other applications closed. The only solution is to buy a phone with 512mb of memory.
Froyo isn't a magical upgrade. The most we will probably see from the firmware is feature parity with the Milestone 2 (minus Milestone 2 specific features and BLUR). All performance related stuff is mostly in our hands already (think JIT).
[EDIT] JIT actually takes up a bit more of your RAM. The difference is quite noticeable if you multitask a lot.

Is there a optimal heap size we should use? What effects does it have if you set the heap size smaller or greater?

Just tried increasing the heap size on my phone. Set it to 48MB and angry birds, my text editors, etc, all finally run consistently smooth. Launcher reloads more often now, but that's not a big deal given the much improved in app experience for me.

Sworkhard said:
Just tried increasing the heap size on my phone. Set it to 48MB and angry birds, my text editors, etc, all finally run consistently smooth. Launcher reloads more often now, but that's not a big deal given the much improved in app experience for me.
Click to expand...
Click to collapse
Yes...Apps seem to not crash because they are being allocated more memory..
I was wondering:
A friend of mine said something like this "Android doesnt need more than 256mb of ram to run smoothly...but due to poor coding app developers dont seem to align or match their apps with the specifications of the android system"
Example: Dolphin HD crashes a lot when playing or viewing flash content and it seems to eat (when selecting heap size 64m) all of those 64mb that can be alocated to a process(app)...
What do you think guys?

yes, Dolphin HD really crashes more than the stock browser on my machine, with heap size set to default 32M
Dolphin HD crashes when I read some forums with very long passages, but the stock browser can display without problem.
Dolphin also occupies a lot of space for caching.

Related

[GAME] Cut The Rope

Someone managed to play this game with MIUI ROM eybee version?
no but pcphobic managed to play it without any lag on cronos ginger 1.4.0 .. hes event posted a video on it running ..
OR you could try this .. eybee1970 posted this in his version of miui, do u have the latest version ? if not get it and try this .. ____>>>>>>
Tipps for Gaming + Navi:
I experienced over last couple of days that setting VM Heap to higher value makes the clue for large apps! So I was able to play GunBros (with standard OC) by setting VM Heap to 48 mb (and running better with balanced3 script from zeppelinrox and not with gaming script - funny ) and my Aura-navigation runs fluently with no unexpected closes also with 48 mb....you can change the heap in build.prop or download the app 'VM Heap Tool' from market. Of course your free RAM gets smaller the higher you set VM Heap - but with 48 mb I still have 50-60 mb RAM free, so good enough for multitasking
rrohanjs said:
OR you could try this .. eybee1970 posted this in his version of miui, do u have the latest version ? if not get it and try this .. ____>>>>>>
Tipps for Gaming + Navi:
I experienced over last couple of days that setting VM Heap to higher value makes the clue for large apps! So I was able to play GunBros (with standard OC) by setting VM Heap to 48 mb (and running better with balanced3 script from zeppelinrox and not with gaming script - funny ) and my Aura-navigation runs fluently with no unexpected closes also with 48 mb....you can change the heap in build.prop or download the app 'VM Heap Tool' from market. Of course your free RAM gets smaller the higher you set VM Heap - but with 48 mb I still have 50-60 mb RAM free, so good enough for multitasking
Click to expand...
Click to collapse
Yes, I have the latest version.
I changed VM Heap to 32mb (like Cronos Ginger ROM) and now I can play Cut The Rope!
Thx!
See this

GN browser issue

Hi All,
was if others are experiencing the same issue i am having?
when i am using the stock internet browser on the GN, (having couple of tabs opened).
i open another app or do something on the phone eg, listening to music or some using other apps,
then I go back to the browser again but this time the browser is closed, none of the tabs are there, feels like the browser restarted.
It keeps happening to me and i cant figure out the cause of it.
does anyone has similar or the same issue i am experiencing?
thanks
mr11gt said:
Hi All,
was if others are experiencing the same issue i am having?
when i am using the stock internet browser on the GN, (having couple of tabs opened).
i open another app or do something on the phone eg, listening to music or some using other apps,
then I go back to the browser again but this time the browser is closed, none of the tabs are there, feels like the browser restarted.
It keeps happening to me and i cant figure out the cause of it.
does anyone has similar or the same issue i am experiencing?
thanks
Click to expand...
Click to collapse
what apps are you swapping between?
the galaxy note may have 1gb of ram, but it doesnt keep a lot of it free. mine normally has something like 350mb free with the widgets i use. when i run my browser with 3-4 pages with a lot of pics, it uses up about 150-200mb of ram. if i then run a game like shadowgun or dungeon defenders, it will use up a lot of ram as well. to keep the system from running out of ram, gingerbread will shut off any background apps using a lot of ram, in this case, the browser. hence you'll lose your tabs because the browser will restart when you reopen it.
i havent had any issues with it crashing when listening to music though. my poweramp only uses like 20mb ram. ive only really had it happen when im gaming and browsing.
the only solutions are to minimise desktop widgets to maximise free ram, and possibly swap launchers to one that will use ram more efficiently. auto task killers are useless since they send most apps into reboot loops which will drain the battery, but if your device is rooted, you can always use titanium backup to freeze apps and processes you never use (ie. weather widget).
Souai said:
what apps are you swapping between?
the galaxy note may have 1gb of ram, but it doesnt keep a lot of it free. mine normally has something like 350mb free with the widgets i use. when i run my browser with 3-4 pages with a lot of pics, it uses up about 150-200mb of ram. if i then run a game like shadowgun or dungeon defenders, it will use up a lot of ram as well. to keep the system from running out of ram, gingerbread will shut off any background apps using a lot of ram, in this case, the browser. hence you'll lose your tabs because the browser will restart when you reopen it.
i havent had any issues with it crashing when listening to music though. my poweramp only uses like 20mb ram. ive only really had it happen when im gaming and browsing.
the only solutions are to minimise desktop widgets to maximise free ram, and possibly swap launchers to one that will use ram more efficiently. auto task killers are useless since they send most apps into reboot loops which will drain the battery, but if your device is rooted, you can always use titanium backup to freeze apps and processes you never use (ie. weather widget).
Click to expand...
Click to collapse
Hi
thank you for getting back so quick...
yeah i do run an large amount of widgets...
currently i've only got about 200mb spare on the
i've try reducing the amount of widget and see if that resolves the issue my browser being closed automatically...
thanks again..

[Q] minicm7 + supercharger game mode

I'm wondering if how i can set my phone to "game mode".
I observed that when I upgraded from 2.1.6 to 2.1.9 then to 2.2.0, there is caching of program. the caching is not done (I think) in 2.1.6 or lower versions. And does supercharger has something to do with this?
I think caching has something to do with processor performance for games, and it makes games somewhat choppy. What I want to do, is when I start a game, all support and background checking/ precaching services for other apps (even for messaging) is disabled so that the game will have most of the resources. It would be even better if i can set this for individual apps so that only cpu/gpou intensive games will do this. Now, is there anyway to do this?
naahh...there is no such settings for now
wakoko79 said:
I'm wondering if how i can set my phone to "game mode".
I observed that when I upgraded from 2.1.6 to 2.1.9 then to 2.2.0, there is caching of program. the caching is not done (I think) in 2.1.6 or lower versions. And does supercharger has something to do with this?
I think caching has something to do with processor performance for games, and it makes games somewhat choppy. What I want to do, is when I start a game, all support and background checking/ precaching services for other apps (even for messaging) is disabled so that the game will have most of the resources. It would be even better if i can set this for individual apps so that only cpu/gpou intensive games will do this. Now, is there anyway to do this?
Click to expand...
Click to collapse
From my exp, 2.2.0 is build in great for gaming.Supercharge it not make it better even its has gaming mode.Btw there are some apps called RAM manager, try to set in Hard Gaming mode.Maybe its will boost a little(not 100% sure)

Amazing thing according to our phone vs iphone 4

hello guys why the iphoners can have a lot of apps running in BG but we can run limited apps if you runs more the phone lags??
I have 100 mb free in internal memory
hemo-ali said:
hello guys why the iphoners can have a lot of apps running in BG but we can run limited apps if you runs more the phone lags??
I have 100 mb free in internal memory
Click to expand...
Click to collapse
Because the IPhone doesn't have real multitask. The IOS basically freeze the background application (except a few like music player).
Android doesn't. Android has real multitask.
dcop7 said:
Because the IPhone doesn't have real multitask. The IOS basically freeze the background application (except a few like music player).
Android doesn't. Android has real multitask.
Click to expand...
Click to collapse
Good answer :thumbup:
but is it really I mean we have ndrive for example when you press home button it still track you in the navigation and give you instructions Iphone doesn't have this option??!!!!
also how many space should I have in my internal memory to have fast phone or all depend on free ram?!!
if it was on the ram so which apps takes a lot of ram (in general)??!
thnx all
I have noticed something paradox. In suppressed rom (v6 & V7) i had only 4-5 apps running in back ground and around 170-230 mb rom free.
In marvel 9, i have 9-10 apps running in back, n 210-270 mb ram free and it runs more smoothly then suppressed. No I am no one to criticise any ones hard work..but it is just my personal observation.

F7 [mustang] multi-tasking and swap

Hi there,
I have a rooted 2019 F7 (Mustang) - stock rom - to be honest it's not a great performer but the form factor is spot on. I need a fix or workaround for playing music + browsing at the same time.
I'm struggling to get the F7 to do simple multi tasking for example, playing music via Spotify, or a Radio app whle browsing the web.
I've tried the usual "tricks" to keep Android memory manager at bay, and stop it closing my music in the background e.g:
- a 4gb swap partition in /data/ via apps2sd;
- using termux to create a swap file, both in /data/ and /cache/;
- Using Swapper (root) to create a swap file; and
- various swappiness settings using teh above.
Swap seems to work superficially, as the partitions are shown as free memory whenI run
Code:
free -m
in terminal, however, the amount of memory used suggests the system is not utilising them beyond a few MB over ZRAM.
In any event - is there some clever workaround I can use to either keep my apps music alive / listen adn browse in the same browser etc?
thephatmaster said:
Hi there,
I have a rooted 2019 F7 (Mustang) - stock rom - to be honest it's not a great performer but the form factor is spot on. I need a fix or workaround for playing music + browsing at the same time.
I'm struggling to get the F7 to do simple multi tasking for example, playing music via Spotify, or a Radio app whle browsing the web.
I've tried the usual "tricks" to keep Android memory manager at bay, and stop it closing my music in the background e.g:
- a 4gb swap partition in /data/ via apps2sd;
- using termux to create a swap file, both in /data/ and /cache/;
- Using Swapper (root) to create a swap file; and
- various swappiness settings using teh above.
Swap seems to work superficially, as the partitions are shown as free memory whenI run in terminal, however, the amount of memory used suggests the system is not utilising them beyond a few MB over ZRAM.
In any event - is there some clever workaround I can use to either keep my apps music alive / listen adn browse in the same browser etc?
Click to expand...
Click to collapse
Best solution IME is a 192MB (or so) swap file in the /cache partition with priorities set to favor the exiting 64MB ZRAM based swap. Set swappiness to ~10 and call it a day. Spinning up a huge static swap partition in /data won't help (will likely have the opposite effect) as the low-end eMMC overtaxes the annemic processor on large comprssion/decompression tasks. The small static swap gives the ROM some 'breathing room' which reduces most lags/stalls on boot and wake from sleep. Better but not great.
Browsing is particularly taxing on this device (albeit typical behavior on a low RAM gizmo). Might try a browser that renders in the cloud like Opera Mini or Opera w/data saver enabled. Stick to a tab or two and use the integrated ad blocker (I prefer VPN based blockers but that's OT). Even with those measures browsing will be a painful experience if the tab is doing anything else that actively utilizes limited resources. Good luck.
I'll give that a go. Two things:
My system reports 256mb Zram - is that compressed into 64mb or something?
Opera mini doesn't work on the Fire 7, nearest I found is puffin - which is heavy slow and buggy
thephatmaster said:
I'll give that a go. Two things:
My system reports 256mb Zram - is that compressed into 64mb or something?
Click to expand...
Click to collapse
My error; forgot Mustang defaults to 256MB ZRAM on FireOS v6. That could part of the problem when fully utilized as it reduces available uncompressed RAM which is much faster given the low end processor which must handle compression/decompression. Note ZRAM only consumes as much RAM as needed. A tool like DiskInfo will give a graphical readout of utilization.
thephatmaster said:
Opera mini doesn't work on the Fire 7, nearest I found is puffin - which is heavy slow and buggy
Click to expand...
Click to collapse
Try the full version of Opera with 'data saver' enabled. In that mode it operates much like Opera Mini from a workload and memory footprint perspective. Mini works fine on the hardware; FireOS v6 is the bad boy (likely missing libraries).

Categories

Resources