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 7065927
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T05:01:05+00:00 2026-05-28T05:01:05+00:00

I have clients that need to post 30MB of xml data. The data is

  • 0

I have clients that need to post 30MB of xml data. The data is in binary form and is heavily encrypted. The client hit to my servlet running on tomcat, then i get the data via
Servlet request.getParameter("_xmldata");

The problem is, it takes around 25seconds just to move the 30MB data to a String variable.
So in my head, there are two questions:

1) Why is it the case?

2) Is there anyway i can improve this? (apart from getting the user to send via FTP / SSH)

Server Environment:-

  • CPU: Quad Core Xeon 5540
  • Server Memory: 4GB
  • Tomcat Heap: 2GB
  • Harddisk : 500GB
  • 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-05-28T05:01:05+00:00Added an answer on May 28, 2026 at 5:01 am

    I’m going to wager a guess that the getParameter method is still waiting on the necessary data within the request to be received. You could confirm this by monitoring your server with something like Wireshark.

    All the required HTTP request headers have already been received, which is enough for the server to start processing the request. But once you call getParameter, it is likely still waiting for the entire “field” to be received. Check the bandwidth between your client and your server. I highly doubt it’s a CPU issue (nothing you’d need a quad core for).

    You could somewhat confirm this by placing small test text fields both before and after the _xmldata field in the request. Read only these fields around _xmldata. I’m guessing that the attempting to read the last will also encounter about the same delay you’ve been observing.

    (I’d also be cautious as to how you’re receiving binary data through a request parameter – and furthermore, moving it into a String variable. I’m hoping it’s encoded with something like Base64 encoding…)

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

Sidebar

Related Questions

I have a client/server application that communicates with .Net remoting. I need my clients
I have a WCF service that I am calling from multiple clients. I need
We have a client side application (Java/Swing) that we need an HTML rendering control
For whatever reason, I have a lot of clients that have existing data that's
I have two perforce clients (client-a, client-b) that each contain about 40 file specs.
We have a client unable to switch a form from POST to GET, at
I have one application that I sold to multiple clients. Each client has his
I have a page that's sending some POST data in plaintext to an aspx
I have a Silverlight client that I need to call a web service. The
I have a User Control that need load some jquery scripts in client side,

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.