Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
alias_neo
Old
#1  
alias_neo's Avatar
Senior Member - OP
Thanks Meter 177
Posts: 1,996
Join Date: Jun 2006
Location: Wilmslow
Default [Q] VM Heap Size?

Can someone with a device please tell me the VM Heap Size?

This can be found in /system/build.prop for those who don't know.

Thanks.
Storage Ether Widget - Storage Widget for Android phones and tablets.
 
alias_neo
Old
#2  
alias_neo's Avatar
Senior Member - OP
Thanks Meter 177
Posts: 1,996
Join Date: Jun 2006
Location: Wilmslow
Bump ... anyone that can answer me please?
Storage Ether Widget - Storage Widget for Android phones and tablets.
 
funnycreature
Old
#3  
funnycreature's Avatar
Senior Member
Thanks Meter 491
Posts: 1,319
Join Date: Feb 2011
Location: Frederick, MD

 
DONATE TO ME
How can I find the info?

[sent with Xooming Android technology]

AT&T Galaxy Note II running CleanROM 4.8; ASUS TF101 running andros11's LiquidSmooth 4.1.2 RC9; MotoACTV running DPRomBeta9.
Learn how to resize your UCCW widgets according to your launcher grid layout in BRKotucs theme thread.
Looking for an Office Suite for Tablets? Check out my comparison (Updated 02/17/2013)!
Also, check out my Word 2007 Guide at academia-nutcrackers.com
 
alias_neo
Old
#4  
alias_neo's Avatar
Senior Member - OP
Thanks Meter 177
Posts: 1,996
Join Date: Jun 2006
Location: Wilmslow
Quote:
Originally Posted by funnycreature View Post
How can I find the info?

[sent with Xooming Android technology]
If you have root explorer it can be found in the build.prop file in your system dir, otherwise you can install the free VM Heap Tool from the market and that should tell you what it currently is.

I'm hoping to get these books optimised for the XOOM and need to know how much VM Heap I have to play with (also, I just did the button fix you mentioned, shifted them up top the middle ).

Thanks man.
Storage Ether Widget - Storage Widget for Android phones and tablets.
 
qubz
Old
#5  
qubz's Avatar
Recognized Developer
Thanks Meter 68
Posts: 576
Join Date: Jun 2007
Location: A parallel dimension

 
DONATE TO ME
dalvik.vm.heapstartsize=5m
dalvik.vm.heapgrowthlimit=48m
dalvik.vm.heapsize=256m
Nexus 4 | Transformer Prime
R.I.P - SGS2 , Nexus S, Xoom WiFi, HTC Desire, HTC Trinity, Dopod
 
alias_neo
Old
#6  
alias_neo's Avatar
Senior Member - OP
Thanks Meter 177
Posts: 1,996
Join Date: Jun 2006
Location: Wilmslow
Quote:
Originally Posted by qubit76 View Post
dalvik.vm.heapstartsize=5m
dalvik.vm.heapgrowthlimit=48m
dalvik.vm.heapsize=256m
Holy crap, thanks, that's a rather large heap size.

The first two seem to be new though, I have never come across them. I wonder what the second one means though, if that's the maximum growth in a single "grow", it wouldn't make sense for it to be 5 + 48 cause that's nowhere near the 256 that's defined.

I'll have to look into it, thanks for the information tough.
Storage Ether Widget - Storage Widget for Android phones and tablets.
 
funnycreature
Old
#7  
funnycreature's Avatar
Senior Member
Thanks Meter 491
Posts: 1,319
Join Date: Feb 2011
Location: Frederick, MD

 
DONATE TO ME
Quote:
Originally Posted by qubit76 View Post
dalvik.vm.heapstartsize=5m
dalvik.vm.heapgrowthlimit=48m
dalvik.vm.heapsize=256m
Guess you beat me to it

AT&T Galaxy Note II running CleanROM 4.8; ASUS TF101 running andros11's LiquidSmooth 4.1.2 RC9; MotoACTV running DPRomBeta9.
Learn how to resize your UCCW widgets according to your launcher grid layout in BRKotucs theme thread.
Looking for an Office Suite for Tablets? Check out my comparison (Updated 02/17/2013)!
Also, check out my Word 2007 Guide at academia-nutcrackers.com
 
alias_neo
Old
#8  
alias_neo's Avatar
Senior Member - OP
Thanks Meter 177
Posts: 1,996
Join Date: Jun 2006
Location: Wilmslow
Now I think about it, I did find through testing that the VM Heap is allowed to grow over the stated size, what this says is that it can grow by uptown 48M over the 256M size.

As a user it's pretty unimportant but from a development perspective that gives a lot of headroom for maintaining stuff in memory.

As a comparison the base VM Heap size for android phones is 16M with faster / later devices being allowed 24 or 32, as high as 48 on the pre-honeycomb tablets.

This is a major increase which hopefully, from a consumer perspective means richer more capable applications.

Happy days.

Sent from my HTC Desire using Tapatalk
Storage Ether Widget - Storage Widget for Android phones and tablets.
 
qubz
Old
#9  
qubz's Avatar
Recognized Developer
Thanks Meter 68
Posts: 576
Join Date: Jun 2007
Location: A parallel dimension

 
DONATE TO ME
Quote:
Originally Posted by qubit76 View Post
dalvik.vm.heapstartsize=5m
dalvik.vm.heapgrowthlimit=48m
dalvik.vm.heapsize=256m
Kinda reminds me of the eclipse.ini file for Eclipse IDE

--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Xms64m
-Xmx1024m
-XX:MaxPermSize=512m

Thats what I have for best performance while developing in Eclipse.

I think growth limit is the increment by which the heap can can grow by. Start size is, well the heap start size.

heapsize=256, now that confuses me. Is that the upper bound on the heap?
There was no other reference to maxsize or the like.
Nexus 4 | Transformer Prime
R.I.P - SGS2 , Nexus S, Xoom WiFi, HTC Desire, HTC Trinity, Dopod

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Boot Animation Paradise for your Android Device

The default boot animations on any device, no matter whichmanufacturer, are generally pretty … more

Flash Custom ROM and Recovery to Samsung Galaxy S 4

After reading about Dan Rosenberg’s bootloader exploit for the Samsung Galaxy S 4,I … more