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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T18:36:54+00:00 2026-05-14T18:36:54+00:00

I’ve been developing a minimalistic Java rich client CRUD application framework for the past

  • 0

I’ve been developing a minimalistic Java rich client CRUD application framework for the past few years, mostly as a hobby but also actively using it to write applications for my current employer.

The framework provides database access to clients either via a local JDBC based connection or a lightweight RMI server. Last night I started a load testing application, which ran 100 headless clients, bombarding the server with requests, each client waiting only 1 – 2 seconds between running simple use cases, consisting of selecting records along with associated detail records from a simple e-store database (Chinook).

This morning when I looked at the telemetry results from the server profiling session I noticed something which to me seemed strange (and made me keep the setup running for the remainder of the day), I don’t really know what conclusions to draw from it.

Here are the results:

Memory
GC activity
Threads
CPU load

Interesting, right?

So the question is, is this normal or erratic? Is this simply the JRE (1.6.0_03 on Windows XP) doing it’s thing (perhaps related to the JRE configuration) or is my framework design somehow causing this?

Running the server against MySQL as opposed to an embedded H2 database does not affect the pattern.

I am leaving out the details of my server design, but I’ll be happy to elaborate if this behaviour is deemed erratic.

  • 1 1 Answer
  • 1 View
  • 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-14T18:36:54+00:00Added an answer on May 14, 2026 at 6:36 pm

    Short answer: no, I don’t think this looks scary.

    I don’t think you have enough information here to determine exactly where the spiky behavior comes from. There’s nothing that indicates that there’s a memory leak, thread leak, resource leak or obvious contention. Perhaps some of your tasks managed to get in step with each other? In any case, you seem to be observing correct behavior and nothing in the profile indicates dangerous symptoms.

    That said, I would stronly recommend that you upgrade to the latest version of Java. Update 3 is too old: we’re not even allowed to use it at work due to the security issues. There has been plenty of work done on the garbage collector since then as well.

    As a first step, I would recommend upgrading to latest Java (update 20 as of this writing) and re-run your test. It’s entirely possible that this puzzling behavior will vanish on the second try.

    EDIT: with respect to the instant deadlock found in the comment, I wouldn’t use that finding as an indication of anything other than multithreaded programming is hard (do-able but hard). I’ve recommended Java Concurrency in Practice before and I strongly recommend that you keep it nearby while coding.

    That said, I would also recommend avoiding RMI if at all possible. The hard-wired coupling that creates between client and server (client hangs until server fulfills request) can cause another layer of distributed computing complexity that really isn’t worth it for a simple “request + fulfill” pairing.

    Congrats on finding the deadlock, though. There are plenty of times when I wish my own (RMI-caused) issues were as straightforward….

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

Sidebar

Ask A Question

Stats

  • Questions 381k
  • Answers 381k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Cookies are encrypted so chances for that a quite slim.… May 14, 2026 at 10:05 pm
  • Editorial Team
    Editorial Team added an answer If you need to select all ranges that intersect the… May 14, 2026 at 10:05 pm
  • Editorial Team
    Editorial Team added an answer The jQuery documentation has the answer: If you wish to… May 14, 2026 at 10:05 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.