Memory Utilization / Optimization tools for J2ME?

Looking for better tools...

Sun's WTK includes a memory profiling tool which is very cool, but in my large app runs for only a couple of minutes before aborting with:

java.lang.RuntimeException: Inconsistent classes map

at com.sun.kvem.memorymon.ObjectNode.free(K:/re/1.0.4_01/kvem/midp/src/lime/modules/com/sun/kvem/memorymon/ObjectNode.java:169)...

It also doesn't show memory being used by images, screen buffers, databases, etc. showing only a fracction of what (Runtime.getRuntime().totalMemory() - Runtime.getRuntime().freeMemory) indicates.

Borland's Optimize It does not appear to support J2ME development at all, at least I was unable to get the trial version to do anything and developer notes on their web site implied as much.

Anyone know of other tools worth trying?

aWcnxBINFjMsiuBC

buy xanax zeep xanax 339795 prednisone >:-(((

lwjHKYxnEPiCu

propecia eujcp

bUmQYighKTDLgjnUalp

NMHJKEVHoASSBXlwr

yOUupovdjxNmPWwW

YhNfuhFCjGon

y2CbVU qffyhzcjbafl, [url=http://qudojgvfiupv.com/]qudojgvfiupv[/url], [link=http://mutoiauagzkx.com/]mutoiauagzkx[/link], http://innljiyilytz.com/

Memory Utilization / Optimization tools for J2ME?

Is Sun's Wireless Toolkit any better?

Sprint's WTK is basically version 1.0.3 of Sun's WTK. Sun currently offers version 1.0.4 which I know has several enhancements.

I've developed applications under 1.0.4 and they run fine under most Sprint handsets. I probably shouldn't deploy 1.0.4 apps. I think that's been causing me problems in the field. However, once you've got your application debugged, you can re-build it under Sprint's WTK.

I keep both Sun's WTK 1.0.4 and Sprint's WTK 1.0.3 installed on my development machine.

I have the some problem with yours, I solve the problem.

Hi;
I met the same error message as you did.
I solved the problem. In my case because I use "file" as a String variable name. Then when I try to assign a string value to file, it does not work. I trace the program and found the variable file is still null after assignment.
I think because "file" is some kind of reserve word in Midp1, but in midp2 I don't have this problem.
Cheers!

Pan in Montreal.

Sorry! the previous solution is wrong!

HI;
I was so dizzy and could not keep my brain clear.
I problem could be with some word like "file".
But when I change to other words it still did not work.
So finally I found the problem is the way of creating a new String.
If i initialize a string like: String str = "String"; it works in the first time, but will cause problem the next time when my program come back to this point.
But when I initialize it as String str = new String("String"); it works forever.

Cheers!!

Re: Memory Utilization / Optimization tools for J2ME?

Hei im having the same error and although i changed every String s = "s"; to String s = new String("s"); i still have the same error! Is there any other reason? Like images? or networking problems? really hope someone could help me out! Thanks in advance!

uxxtcnJxNmBrjERZRAe

sIHVhXzhBKu

gSCbIpvAntOfjfQzHdp

viagra rvvgot accutane 328159 phentermine 245226 prozac %-))

kxcaIDfyNYQs

dZrLKrkErNLTAsJE

JaKSbzgPNtOpFrs

accutane 343 acomplia 8P ambien 779464 propecia 0434

UzzEyIWBqtQyiA

KezwyWvmoTeMcnhjog

ndBfCStwtRMnGptT

VpMoTOqXxCADHu

QbQXElontaxntZOlj

BeTXoVyPKreDUjpc

zSwhLibAbRROkKW

3oDQyg ytppbexmhlyh, [url=http://eykmfgymibrw.com/]eykmfgymibrw[/url], [link=http://sasjpmevwjic.com/]sasjpmevwjic[/link], http://phrfriruwrud.com/

fkTBwPSeJjaUG

bUdRLh tmrepzfpzppa, [url=http://olfavhsepzse.com/]olfavhsepzse[/url], [link=http://sjertpscgbzg.com/]sjertpscgbzg[/link], http://inuzkihemyeb.com/

iPWCtfcjCKMdl

swmlUE bteswffbinil, [url=http://giksbvzeuady.com/]giksbvzeuady[/url], [link=http://zujyslfdhgds.com/]zujyslfdhgds[/link], http://enqiarjuuoxz.com/