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 1/2" Drive MAC VUI 166T 6 Point Impact Swivel Socket
$11.95
Vintage 1/2Vintage MAC Tools PN6 Flat Head Screwdriver, 9-3/4" Overall
$8.5
Vintage MAC Tools PN6 Flat Head Screwdriver, 9-3/4Vintage MAC V306, 15/16", 6-Point Impact Socket with a 1/2" Drive
$11.99
Vintage MAC V306, 15/16VINTAGE MAC,BLACK FINISH,V15F 1/2'' DRIVE BREAKER BAR AND MAC X8R 3/8'' RATCHET
$19.99
VINTAGE MAC,BLACK FINISH,V15F 1/2'' DRIVE BREAKER BAR AND MAC X8R 3/8'' RATCHET pictureVintage Apple Mac OS 8.5 Software NEW Sealed Sticker QuickTime 3 Pro
$18.99
Vintage Apple Mac OS 8.5 Software NEW Sealed Sticker QuickTime 3 Pro  picture






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