dx tool memory control

38 views
Skip to first unread message

MalcolmH

unread,
Oct 29, 2011, 2:39:47 PM10/29/11
to java-ide-droid
Hi - I am getting an out of memory error with the dx tool. had some
success with --no-optimize option with one application, but a larger
one fails. can anyone help with advice on adjusting memory options, or
tips on reducing memory demand.....i have an acer iconia tab with 1
gig ram.
Message has been deleted

Tom

unread,
Oct 31, 2011, 2:42:43 AM10/31/11
to java-id...@googlegroups.com
Yes, I also had out-of-memory problem when I tried to dexify apps with a lot of libs.

It would be the easiest way if we could allocate more memory for dx.

But maybe, we will have to modify dx to solve this problem on Android.
I think I it gathers all dexified files in memory before writing them out to the dex file.
Maybe we can change that so that the dexified files are streamed directly to the storage card.

Tom

Malcolm Haye

unread,
Dec 17, 2011, 5:03:24 AM12/17/11
to java-id...@googlegroups.com

Hi, am also going to have a go at splitting big app into a few diff services, improve the design. it's a big semi-direct conversion from a vb calc app for some business stuff.

Tom

unread,
Jan 16, 2012, 5:30:59 AM1/16/12
to java-id...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages