BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 09-22-2011, 05:17 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Sep 2011
Model: 9700
PIN: N/A
Carrier: 9700
Posts: 15
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default OutofMemoryError

Please Login to Remove!

Hi,

I am displaying images from sdcard in my bb app . I am storing images in Vector.
user can select images & move to next screen which shows selected images. On next screen, i created bitmap array of vector size (which contain images) & i am getting bitmap from vector & saving it in bitmap array

if there are 55 images it display all images at first screen & store in vector but in next screen where i m saving images in bitmap array i am getting exception "out of memory error"

any one know how to resolve this error ?
Offline  
Old 09-22-2011, 01:00 PM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default Re: OutofMemoryError

Sounds to me like you have too many copies of the same data in memory. Remember, you have limited memory on these devices.
Offline  
Closed Thread


Thread Tools

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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads for: OutofMemoryError
Thread Thread Starter Forum Replies Last Post
OutOfMemoryError on 7290 simulator samcool14 Developer Forum 0 04-04-2008 04:41 AM
OutOfMemoryError on 7290 cketz General Legacy Device Discussion 5 10-14-2007 11:55 PM
OutofmemoryError on real 7100, 7500 etc JDE 4.2.1 tclark Developer Forum 9 10-02-2007 02:50 PM
7290 OutOfMemoryError chanakasat General Legacy Device Discussion 1 08-08-2007 06:22 AM
OutOfMemoryError chanakasat Developer Forum 1 08-02-2007 07:07 AM





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.