aspose file tools*
The moose likes Java in General and the fly likes Tweak JVM parameters Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Tweak JVM parameters" Watch "Tweak JVM parameters" New topic
Author

Tweak JVM parameters

Tejas Bondre
Greenhorn

Joined: Nov 29, 2010
Posts: 3
I have a java program that demands too much processing power. I know my hardware CAN support much more than that. But the JVM is alloted only limited resources. I want to know whether we can allot more resources to JVM? Let's say I want to use my PC only for running the java program and nothing else so that my JVM can utilise the full power of the PC. Please give some hints.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19670
    
  18

You can give processes more priority, but sometimes only when the process is already running.

On Unix, the "nice" command can be used for this. On Windows, you can change it using the Task Manager: go to the Processes tab, right click the process, use Set Priority.

On all systems one warning: don't give the process a too priority, or it will make your system unresponsive to anything else if the process is using all resources.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tweak JVM parameters