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

Johnson Controls Metasys Facilitator S-4977 MM-FAC 201-0
$130.0
Johnson Controls Metasys Facilitator S-4977 MM-FAC 201-0 pictureJohnson Controls Metasys MS-NAE5520-2 Controller NAE 5520 5510 Version 7.0
$4999.99
Johnson Controls Metasys MS-NAE5520-2 Controller NAE 5520 5510  Version 7.0 pictureJohnson Controls Metasys MS-FEC1621-1 New in Box
$300.0
Johnson Controls Metasys MS-FEC1621-1 New in Box pictureJohnson Controls Metasys AS-UNT120-1 Rev. P m9946 Controller
$109.99
Johnson Controls Metasys AS-UNT120-1 Rev. P m9946 Controller pictureJOHNSON CONTROLS METASYS FIELD EQUIPMENT CONTROLLER MODULE MS-FEC2610-0 REV F
$74.99
JOHNSON CONTROLS METASYS FIELD EQUIPMENT CONTROLLER MODULE MS-FEC2610-0 REV F picture






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