Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8027937
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T23:58:14+00:00 2026-06-04T23:58:14+00:00

I am developing a webworks application using phonegap and jquerymobile. I use soapclient.js to

  • 0

I am developing a webworks application using phonegap and jquerymobile. I use soapclient.js to create soap requests to my backend server. We were facing a timeout issue and during detailed investigation we noticed that consistently the 11th ajax request gets a no response. To put things on right place we repeated the test with same calls repeat so that we know that the particular request works.

we use the low end self created xmlhttprequest object and till the send() call there are no errors. The onreadystate change listener doesn’t get called for the 11th call.

Occasionally when we waited long enough this 11th call did get honoured in approx 5 mins or so, making me believe that there is a connection leakage in BlackBerry browserfield.

I suspect that there is a limit of 10 connection (non parallel) which can be made. After sometime when BB garbage clean up triggers in, it clears out few old connection the new connection waiting in queue gets executed.

More info

  1. I have verified from server logs that during this waiting period,
    server didn’t received the request
  2. I have verified that this
    happens irrespective of whether I use Wi-Fi or GPRS
  3. The application starts working again, if I close and reopens it but only till the
    first 10 requests

I have tried to abort the request if it passes my timeout period by calling abort() and setting it to null. But even then I cannot make the 11th request if I don’t wait for some time.

I would have believed any other reasons like javascript waiting for UI thread etc, if this behavior would have been random. But it is 99% reproducible on the 11th request and I have rechecked the code multiple times to see if there is any variable or count being informed from the app. The alert works fine till .send but the callback is not called.

I am now trying to create a very plain app which makes ajax calls to see if this behavior is specific to my app or is it a platform constraint, but if anybody has any such previous experience please share.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T23:58:16+00:00Added an answer on June 4, 2026 at 11:58 pm

    Finally after a day of struggle, we found that it was happening due to assigning javascript functions to hardware keys. Since we were using different menu items under different jQuery page, the menu button is bound to different javascript functions on various activities, which was resulting in memory leakage in BB WebWorks application. We got it resolved when we bound the menu hardware button with a global variable and kept on replacing its assignment instead of recalling bind again and again.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Currently developing an application using the newest version of symfony, obtained through PEAR. This
While developing a firefox extension, I create a wizard window from overlay.js using: this.wizard
I'm developing a WebWorks application for the Blackberry Playbook. This page in their documentation
Developing an application using SWT to work in both Linux and Windows. I created
im developing windows application using c#. i want to close the application and show
I am developing a BB WebWorks application (targeting BlackBerry OS 6.0+) and I need
Iam developing one application.In that i use the google api for getting the location
Iam developing one application.In that i use the google api for getting the location
iam developing one application.In that i use the search bar for search the data.But
Developing a C# .NET 2.0 WinForm Application. Need the application to close and restart

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.