BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 11-04-2010, 01:36 AM   #1 (permalink)
New Member
 
TungstenX's Avatar
 
Join Date: Nov 2009
Model: 9000
PIN: N/A
Carrier: Vodacom
Posts: 12
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question GameCanvas and GC

Please Login to Remove!

Hi all,

I've got a problem with the garbage collector firing off every few seconds (+- 10 seconds) - thus every 10 seconds or so the hour glass flash on the screen. I know there can be a lot of reason for this, but if someone can give me pointers, I'd appreciated it a lot?

What I've done to save memory and memory issues:
1. All the images of the game are loaded in a static array
(Question on this, if I assign a local var to one of the images in the static array, will it still use one memory spot?)
2. Trying to reduce the creation of new objects, e.g. there are 50 particles pre-created and they just get switch on and off - rather than created and destroyed.

Any inputs are welcome.

Best regards,
TX
Offline  
Old 11-04-2010, 06:38 AM   #2 (permalink)
New Member
 
TungstenX's Avatar
 
Join Date: Nov 2009
Model: 9000
PIN: N/A
Carrier: Vodacom
Posts: 12
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Answering my own question, again:
Offline  
Old 11-04-2010, 06:40 AM   #3 (permalink)
New Member
 
TungstenX's Avatar
 
Join Date: Nov 2009
Model: 9000
PIN: N/A
Carrier: Vodacom
Posts: 12
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

http://developers.sun.com/mobility/m...sen/Chap10.pdf
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

Vintage Rare DEC 1073D / 1996 JD3487 H 9833
$49.99
Vintage Rare DEC 1073D  / 1996 JD3487 H 9833    pictureAshcroft Paper Tester, Pat. Dec. 31,1912, Vintage, Antique
$49.0
Ashcroft Paper Tester, Pat. Dec. 31,1912, Vintage, Antique pictureVintage REED Mfg Co. No. 31 Swivel Bench Vise Pat. Dec 24, 1912 Wt 47 lb, 3.5"
$90.0
Vintage REED Mfg Co. No. 31 Swivel Bench Vise Pat. Dec 24, 1912  Wt 47 lb, 3.5VINTAGE DEC 5016674-01C1 CONTROLLER CARD * USED *
$92.0
VINTAGE DEC 5016674-01C1 CONTROLLER CARD * USED * pictureDEC / AMI 304E 21-15542-01 vintage ceramic IC - KTF11 Chips *NEW* 40278101
$60.0
DEC / AMI 304E 21-15542-01 vintage ceramic IC - KTF11 Chips *NEW* 40278101  picture






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