Browse Source

Final Update to MemoryManagement

Michael 6 years ago
parent
commit
449a72b23f
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      memoryManagement.java

+ 2
- 2
memoryManagement.java View File

@@ -51,7 +51,7 @@ public class memoryManagement{
51 51
 		//Create random jobs or read from the file and create jobs
52 52
 		if(read.equals("")){
53 53
 			System.out.print("Creating " + JOBAMOUNT + " random jobs...");
54
-			jobLength = JOBAMOUNT;
54
+			jobLength = 40;
55 55
 			for(int i = 0; i < jobLength; i++){
56 56
 				id[i] = i+1;
57 57
 				size[i] = rand.nextInt(MEMORYSIZE / 10)+1;
@@ -143,4 +143,4 @@ public class memoryManagement{
143 143
 		//Forcibly close down all threads
144 144
 		System.exit(0);
145 145
 	}
146
-}
146
+}

Loading…
Cancel
Save