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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T14:46:00+00:00 2026-06-18T14:46:00+00:00

I do have problems with an application I developed. When I run it over

  • 0

I do have problems with an application I developed. When I run it over long period of times, the CPU load goes slowly up. Here is a screenshot of Java VisualVM after 45 minutes.

enter image description here

As you can see, memory usage is very constant and the number of threads as well. The application opens a LAN socket and makes a measurement every 2 seconds. This measurement is running in a separate thread (which can be seen in the thread plot bottom right).

The CPU usage increases slowly but surely, overnight it accumulates to around 70-80% at which point the whole system is considerabely slowed down (obviously). Now I don’t want this increase of course but can not find the reason for it. There is no memory leak (which would result in a continuous increase of memory as well) nor do I generate more and more threads (because that count is stable as well).

My app has an extensive GUI and several threads. Here is the thread list from the profiler:

enter image description here

I marked “my” threads yellow. So the MeasurementCommunication.startMeasurement threads are created (and terminated again) whenever needed. So there is only one of those guys running at any time.

So to cut a long story short: I don’t know where this CPU increase comes from. Do you have any ideas? Maybe that’s a general Java problem?
If you need any more information or details, just tell me and I try to answer them. 😉

  • 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-18T14:46:01+00:00Added an answer on June 18, 2026 at 2:46 pm

    Just having a look at your used heap, it does appear from 17:00 to go upwards, what you would need to do is to capture it for a longer period and ensure it does climb back down and keeps up/down but typically flat usage, if it starts to produce results like steps i.e. incrementing further and further upwards then it could be a memory leak causing the issue which then impacts your cpu. so in short you need to watch it for longer specially when the heap climbs. So the state between each full garbage collection….

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

Sidebar

Related Questions

I have problems trying to load png file into my application. It seems to
I'm new around here and i have a little problems with a C# application.
I have developed this small app and run it on Jetty with no problems...
I have a application developed based on Compact Framework 1.0. I can run it,
I have this problem, when I run my application developed with Zend Framework on
I have developed an image uploading application that uses Flash to load an image,
C# VS 2005. I have developed an application that run perfectly on my development
I have developed a C++ application in Eclipse. When run outside of Eclipse, it
I have developed a Android application with targetSdkVersion=15 . When I run this application
I'm creating an application and I have problems with Cursor . I have an

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.