Siemens SL55 problem

hi all,
I have been porting my latest project into siemens sl55, and I received just before application starts a error message saying
“Class File Size Does not Match”,
JAD has the correct value for jar size(besides I copied the game with infrared so JAD is not in use at all)

I will be very thankful if any of you have seen this problem before and know the reason behind it.

P.S. application runs fine on SL55 emulator

Do you have any big classes? I seem to remember that that device won’t allow any classes bigger than 16K.

shmoove

16 k is the limit for s55 and m55. Besides I somehow solved the problem by formatting the phones filesystem and installing application again.It was a heavily used testing phone and the memory was %90 full. But still if I ship this prduct I cant expect users to do it as well.I hope my test phone had so badly memory fragmentation problem and that was the reason. I will try again very soon to run it again after filling the filesystem.

As I know, function size may be another issue which causes problems.
and midlet class size should be less than 4kb.