Results 1 to 6 of 6
Thread: run java program in 100% usage
- 01-15-2010, 03:46 PM #1
Member
- Join Date
- Mar 2008
- Posts
- 15
- Rep Power
- 0
- 01-15-2010, 03:53 PM #2
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,405
- Blog Entries
- 7
- Rep Power
- 17
- 01-15-2010, 07:34 PM #3
Senior Member
- Join Date
- Dec 2009
- Posts
- 104
- Rep Power
- 0
- 01-15-2010, 08:44 PM #4
Moderator
- Join Date
- Feb 2009
- Location
- New Zealand
- Posts
- 4,547
- Rep Power
- 11
nice/renice? In Windows the task manager lets you alter the priority of the various running tasks - it gives you a warning about "system instability" that should probably be taken heed of...
- 01-20-2010, 05:44 PM #5
I have 2 cores, and if my java program has only one thread it only uses 50%. If I run 2 instances of the java program then it uses 100%. The JVM will only use 100% if it needs to. It must be a hefty task and more than one native thread.
- 01-22-2010, 10:35 PM #6
Member
- Join Date
- Aug 2009
- Posts
- 76
- Rep Power
- 0
Similar Threads
-
How to determine CPU usage using Java?????
By JavaEmpires in forum New To JavaReplies: 5Last Post: 03-16-2011, 04:49 AM -
usage of Hashtable
By venu2807 in forum New To JavaReplies: 4Last Post: 01-27-2009, 03:36 AM -
Timer usage in java program
By sandeeprao.techno in forum New To JavaReplies: 5Last Post: 01-24-2008, 07:16 PM -
Integer Usage
By bluegreen7hi in forum New To JavaReplies: 11Last Post: 01-24-2008, 08:54 AM -
Comm API Usage
By hobbyist in forum New To JavaReplies: 0Last Post: 11-16-2007, 04:59 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks