VM heap allocation limit

by Zia » Tue, 10 Nov 2009 10:35:46 GMT


Sponsored Links
 Thanks. So to confirm that in 1.5, there is no way to modify the VM
size limit (16MB) for a custom platform?

-Z.






-- 



VM heap allocation limit

by fadden » Wed, 11 Nov 2009 04:30:04 GMT


 


For a custom *platform*, you can edit frameworks/base/core/jni/
AndroidRuntime.cpp and change the "-Xmx16m" to something else.

-- 


Sponsored Links


VM heap allocation limit

by Adam » Tue, 15 Dec 2009 02:49:37 GMT


 I'm very new to java and have a very noobish question. how in 2.0 do I
change that system property or (much more noobish) how do I get to
that frameworks/base/core/jni/AndroidRuntime.cpp to add that command?






-- 



VM heap allocation limit

by Adam » Tue, 15 Dec 2009 02:49:49 GMT


 I'm very new to java and have a very noobish question. how in 2.0 do I
change that system property or (much more noobish) how do I get to
that frameworks/base/core/jni/AndroidRuntime.cpp to add that command?






-- 



VM heap allocation limit

by Adam » Tue, 15 Dec 2009 02:49:50 GMT


 I'm very new to java and have a very noobish question. how in 2.0 do I
change that system property or (much more noobish) how do I get to
that frameworks/base/core/jni/AndroidRuntime.cpp to add that command?






-- 



VM heap allocation limit

by enh » Tue, 15 Dec 2009 08:47:48 GMT


 for an application, you can't. hence fadden's emphasis on the word
"platform". otherwise, you just edit that file and rebuild.

 --elliott






-- 



Other Threads

1. How to check if a user defined service is already running

Dear Folks,
I have a service that is running within the context of my application. It
gets invoked at the start of the activity and then gets update when new data
is inserted or deleted from the database. The problem is that everytime I
start the activity , it restarts the service. As you may have guessed  - not
a very intuitive design. Therefore I was wondering if there is a way to
determine if the service is already running before starting it. I know I can
bind to the service but I do not want that since the main activity needs to
exits after the database operation is completed.

I know for system services, you can get the service details from the
application context. How do you do it for user defined service?

thanks for all help here.

regards
Sunny.

-- 

2. ListView issue (Editors?)

Hi all,

I would like to have a listview (or a spinner) that uses an EditText as it's 
view.  This appears to work well until I click on the editText and the soft 
keyboard is displayed.  What results is that the screen is now redisplayed 
using the remaining part of the screen but the focus always jumps to a field 
outside of the list view.

I assume from this, that whilst the keyboard is popping up, the listView has 
removed my EditText and then redisplays it after the keyboard has popped up and 
moved the focus.  Swing had the concept of "editor" cells which were always 
available to counteract this issue.

Is there a similar concept in Android?  Or is there a better way to do what I'm 
trying to do?

I appreciate your comments,

Peter Carpenter.

-- 

3. multiple instances of media player

4. PV Opencore call chain

5. Crash on gesture recognize

6. Smoothing out a line on a canvas.

7. glReadPixels() crashes on the HTC Desire