BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 11-12-2008, 09:28 AM   #1 (permalink)
New Member
 
Join Date: Jan 2008
Model: 8100
PIN: N/A
Carrier: Airtel
Posts: 7
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Hour Glass Pops up when sending data to Server

Please Login to Remove!

All,

Our application sends the data over direct TCP Connection to a Server at frequent intervals. We see that a hour glass pops up when sending data .
We are spawning the thread and sending the data in a seperate thread.
It is causing serious problems to the End users when they are using other applications such as "Email/SMS/ etc..

Can somebody give me some tips/example code which can prevent it...


Thanks
Subbarao
Offline  
Old 11-12-2008, 11:10 AM   #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

The hourglass means that the system is performing garbage collection. Without looking at your code, I guess the conclusion would be that your TCP connection is creating lots of garbage and comsuming memory resources, forcing g.c. to kick in to free memory.

You might want to try using the Profiler in the JDE to take a snapshot of your object handles before, during, and after the offending code.
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

DELL 725-10284 / 331-2839 / W5RPF Lamp manufactured by DELL
$256.91
DELL 725-10284 / 331-2839 / W5RPF Lamp manufactured by DELL pictureGenuine OEM Dell RF223 High Yield Toner Cartridge CN-0RF223 5,000 18115dn NIB
$25.0
Genuine OEM Dell RF223 High Yield Toner Cartridge CN-0RF223 5,000 18115dn NIB pictureGenuine OEM Dell 3200MP Osram Replacement Lamp & Housing 310-2328
$79.99
Genuine OEM Dell 3200MP Osram Replacement Lamp & Housing  310-2328 pictureGenuine OEM Dell PK5F4 1M HDMI FC Switch Stack Cable w/Ethernet PCB042C00020-1
$13.98
Genuine OEM Dell PK5F4 1M HDMI FC Switch Stack Cable w/Ethernet PCB042C00020-1 pictureNew Genuine OEM Dell PK5F4 1M HDMI Switch Stack Cable w/Ethernet PCB042C00020-1
$14.99
New Genuine OEM Dell PK5F4 1M HDMI Switch Stack Cable w/Ethernet PCB042C00020-1 picture






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