User Tools

Site Tools


java

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
java [2017/10/06 18:09]
meesters [Memory]
java [2019/01/09 15:44]
meesters
Line 14: Line 14:
 #SBATCH -A zdvhpc #SBATCH -A zdvhpc
 #SBATCH -n 1 #SBATCH -n 1
-#SBATCH --mem=5G+#SBATCH --mem=1800M
  
 module load lang/Java module load lang/Java
Line 21: Line 21:
 srun -n 1  java -Xms1G -Xmx1G -version srun -n 1  java -Xms1G -Xmx1G -version
 </​code>​ </​code>​
-Note that for larger heap sizes, you just need to keep the offset large enough. Set ''​-c ​n''​ with ''​n''​ being the number of threads you want to instruct your program to use; it will be ''​1''​ by default.+Note that for larger heap sizes, you just need to keep the offset large enough. Set ''​-c ​x''​ with ''​x''​ being the number of threads you want to instruct your program to use; it will be ''​1''​ by default.
  
 <WRAP center round important 60%> <WRAP center round important 60%>
java.txt · Last modified: 2019/01/14 10:31 by meesters