Skip to main content

D500 Image Loading

5 replies [Last post]
Anonymous

Hi,

I have an app on the D500 that is giving me mucho grief.

The problem is with loading an unloading of images. I know there's
problems with this on this phone but it's a while since it was
discussed and wondered if anyone had any further info other than
'it's pretty flakey'.

The same app is running fine on the MotoV525, which should really
have less heap available for images. What seems to be happening is
that the image heap is getting fragmented or something as I load and
unload stuff during the game. The game does a lot of loading and
unloading of large images .

Any info appreciated...

====

James Closs, Director, bitBull Ltd

http://www.bitbull.com

07771 991171

====

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Adrian Valentin Dan

Also avoid using grayscale image types, they seem to screw things pretty
badly.

James Closs wrote:
> Hi,
>
> I have an app on the D500 that is giving me mucho grief.
>
> The problem is with loading an unloading of images. I know there's
> problems with this on this phone but it's a while since it was
> discussed and wondered if anyone had any further info other than
> 'it's pretty flakey'.
>
> The same app is running fine on the MotoV525, which should really
> have less heap available for images. What seems to be happening is
> that the image heap is getting fragmented or something as I load and
> unload stuff during the game. The game does a lot of loading and
> unloading of large images .
>
> Any info appreciated...
>
> ====
>
> James Closs, Director, bitBull Ltd
>
> http://www.bitbull.com
>
> 07771 991171
>
> ====
>
> ===========================================================================
>
> To unsubscribe, send email to listserv@java.sun.com and include in the
> body
> of the message "signoff KVM-INTEREST". For general help, send email to
> listserv@java.sun.com and include in the body of the message "help".
>
>

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".

James Closs

Not using any of those, but do you think messing around with image
colour depth might help any? I realise it probably shouldn't as
they're converted to the same bit depth when loaded but you never
know...

> Also avoid using grayscale image types, they seem to screw things
> pretty
> badly.

====

James Closs, Director, bitBull Ltd

http://www.bitbull.com

07771 991171

====

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".

Reinaldo Pires

Hi James,

Try loading bigger objects first(images and any other object) and then go to
the small ones.
I had a similar problem with memory fragmentation months ago(with Motorola
E398 handset)
and this solved the problem.

Reinaldo

On 1/11/07, James Closs wrote:
>
> Not using any of those, but do you think messing around with image
> colour depth might help any? I realise it probably shouldn't as
> they're converted to the same bit depth when loaded but you never
> know...
>
> > Also avoid using grayscale image types, they seem to screw things
> > pretty
> > badly.
>
> ====
>
> James Closs, Director, bitBull Ltd
>
> http://www.bitbull.com
>
> 07771 991171
>
> ====
>
>
> ===========================================================================
> To unsubscribe, send email to listserv@java.sun.com and include in the
> body
> of the message "signoff KVM-INTEREST". For general help, send email to
> listserv@java.sun.com and include in the body of the message "help".
>

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".
[att1.html]

Ian Strain

D500 uses 3bytes per image, therefore it uses more memory loading images.

James Closs wrote:
> Hi,
>
> I have an app on the D500 that is giving me mucho grief.
>
> The problem is with loading an unloading of images. I know there's
> problems with this on this phone but it's a while since it was
> discussed and wondered if anyone had any further info other than
> 'it's pretty flakey'.
>
> The same app is running fine on the MotoV525, which should really
> have less heap available for images. What seems to be happening is
> that the image heap is getting fragmented or something as I load and
> unload stuff during the game. The game does a lot of loading and
> unloading of large images .
>
> Any info appreciated...
>
> ====
>
> James Closs, Director, bitBull Ltd
>
> http://www.bitbull.com
>
> 07771 991171
>
> ====
>
> ===========================================================================
>
> To unsubscribe, send email to listserv@java.sun.com and include in the
> body
> of the message "signoff KVM-INTEREST". For general help, send email to
> listserv@java.sun.com and include in the body of the message "help".
>

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".

James Closs

Cheers,

Yes, I knew this. But there seems to be some kind of heap
fragmentation and/or memory leak going on as well. If and keep
loading and loading the same images it's fine for a while then barfs.

> D500 uses 3bytes per image, therefore it uses more memory loading
> images.

====

James Closs, Director, bitBull Ltd

http://www.bitbull.com

07771 991171

====

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".