Thursday, 13 May 2010

P2P and Grids - Lab. Run the test Faster

Since the last lab I get bad experience , I tried to find a way to run the test faster.

One of the options that I find, it that the virtual machine of Java doesn't have enough virtual memory. So, one of the solution is using the option

-Xmx1000m

This command set the memory of the virtual machine to 1000MB as maximum(I guess). In Netbeans you can do:
1. Right click on the project
2. Select "Properties"
3. Go to "Run"
4. In the "VM options", write -Xmx1000m

Note that the maximum MB that you set is according to the configuration of your computer. You can set it more or less depends on the among of RAM that you machine has.

No comments:

Post a Comment