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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T02:59:42+00:00 2026-06-05T02:59:42+00:00

I am using Jersey 1.12 with Grizzly, using Jackson to generate JSON output. If

  • 0

I am using Jersey 1.12 with Grizzly, using Jackson to generate JSON output. If the generated result is much bigger, then the data transport speed is very slow.

I run the server and client on the same box, and the transport speed for 350KB data is around 350KB/sec, this is pretty slow, right? How to tuning this? I monitored the API who generate a list of object ready to be serialized to JSON, it is about 50ms after the first time.

I set the number of Grizzly NIO worker threads to 40.

I run the server on

Linux 2.6.18-274.7.1.el5 #1 SMP Thu Oct 20 16:21:01 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux

This server has 8 cores.

  • 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-05T02:59:44+00:00Added an answer on June 5, 2026 at 2:59 am

    Maybe you are running out of heap space, causing the VM to try to GC more aggressively causing longer and more frequent GC cycles? How big is the data? Are you using logging filter (it buffers the entity – loading it all into memory)? Try increasing the heap size or ensuring you send/receive data in a streaming fashion rather than keeping it all in memory.

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

Sidebar

Related Questions

I'm using Jersey's integrated Jackson processing to transform incoming JSON to a POJO, e.g.:
I have a Maven 2 RESTful application using Jersey/JAXB. I generate the JAXB beans
Using Jersey and Jackson to create a REST interface, how do I get List
JSON is created in Java using Jersey's JAXB serializer. I need to deserialize it
I am trying to follow the first part of jersey tutorial using Grizzly as
Using jersey jersey.java.net How do I set JSON as the default serialization instead of
When i run my junit jersey service tests using the grizzly framework in eclipse,
We are connecting to a third party using Jersey. We then want to extract
im not sure how to get a json object and output it in jersey
I am using jersey for a REST WS. How do I enable jersey logs

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.