You Are Here:

Community: Developer Discussion Boards

#1 Old Problems loading images - 2006-02-27, 19:24

Join Date: Mar 2003
Posts: 2
asadislam
Offline
Registered User
Hi,
I'm having problems loading (decoding) large images on the phone. J2ME is not letting me load a mega pixel jpeg image completely in memory. It gives me an exception of low memory. It works fine for 640x480 but not for 1280x960. I think this might be related to insufficient heap size. The question is:
- How do I change the heap size?
- Also, could there possibly be some other cause for this exception?
Thanks,
Asad
Reply With Quote

#2 Old Re: Problems loading images - 2006-02-27, 21:47

Join Date: Dec 2005
Posts: 1,886
Location: Brazil
Send a message via MSN to juarezjunior Send a message via Skype™ to juarezjunior
juarezjunior's Avatar
juarezjunior
Offline
Forum Nokia Champion
Hi,

I think it's not possible to change the heap size by using configuration parameters, I mean, there's no way to use JVM parameters as we do in JSE (-Xms, -Xmx, etc).

Some devices have "Unlimited Heap size" depending only in the available memory.

Please send us the stack trace for the exception. Also let us know the device you're testing on.
Reply With Quote

#3 Old Re: Problems loading images - 2006-03-14, 19:10

Join Date: Aug 2005
Posts: 67
Location: Venice, California
Send a message via Yahoo to davidmanpearl
davidmanpearl
Offline
Regular Contributor
Has there been any further resolution or suggestion on this issue?
- Thanks, David Manpearl <dmanpearl_at_imatte_dot_com>
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Loading 2 Images Loading Problem nimbus_cloud Symbian Media (Graphics & Sounds) 1 2005-08-26 06:51
Error Loading Images Nokia 7210!!! mrai Mobile Java General 2 2003-04-24 18:52
Loading images - bug or no bug ? mcmcdonald Mobile Java General 2 2003-04-22 10:05
Problems loading images from files epelde Mobile Java General 3 2003-03-12 09:58
Loading Images after game has been installed ajay_sipl Mobile Java General 2 2002-12-17 08:13

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d134434X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE44iscussionQ qdcZtypeQUqfntypeZE44iscussionContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZentertainmentQ qfnZtopicQUqfnTopicZj2meQ qfnZtopicQUqfnTopicZjavaQ qfnZtopicQUqfnTopicZmediaQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE44iscussionQ qfnZtypeQUqfntypeZE44iscussionContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE44iscussionQ qrdfZtypeQUqfntypeZE44iscussionContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ