Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Threads & CPU Usage, stuck at 50% with quad core

  1. #1
    Junior Member
    Join Date
    Sep 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Threads & CPU Usage, stuck at 50% with quad core

    Hello,

    I got a program that create a lot of threads with a lot calculation.
    But it seems to be stuck at 50-54 %
    The javaw.exe only take 12 000 ko of memory.

    Is there any parameter needed to allow the virtual machine to use more CPU ?
    (using Eclipse)

    Thanks


  2. #2
    Super Moderator helloworld922's Avatar
    Join Date
    Jun 2009
    Posts
    2,896
    Thanks
    23
    Thanked 619 Times in 561 Posts
    Blog Entries
    18

    Default Re: Threads & CPU Usage, stuck at 50% with quad core

    Sounds like you are having a resource starvation issue. Can you post your code?

Similar Threads

  1. wmi usage or PC info in java
    By roofninja in forum What's Wrong With My Code?
    Replies: 9
    Last Post: September 12th, 2012, 09:08 AM
  2. When i run the Program, the CPU usage become very high
    By Bahramudin in forum Member Introductions
    Replies: 2
    Last Post: July 21st, 2012, 04:37 AM
  3. GL11 quad not showing in LWJGL Display
    By squeakbox in forum What's Wrong With My Code?
    Replies: 0
    Last Post: May 9th, 2012, 02:26 PM
  4. core java begineer
    By vinod in forum Object Oriented Programming
    Replies: 3
    Last Post: November 19th, 2011, 05:20 AM
  5. HashMap usage in Java
    By neo_2010 in forum Collections and Generics
    Replies: 2
    Last Post: September 18th, 2009, 02:12 AM