From 449a72b23f53d3f4d969c0de9051093e683281c2 Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 27 Nov 2012 20:31:37 -0500 Subject: [PATCH] Final Update to MemoryManagement --- memoryManagement.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/memoryManagement.java b/memoryManagement.java index 69be775..0eb157e 100644 --- a/memoryManagement.java +++ b/memoryManagement.java @@ -51,7 +51,7 @@ public class memoryManagement{ //Create random jobs or read from the file and create jobs if(read.equals("")){ System.out.print("Creating " + JOBAMOUNT + " random jobs..."); - jobLength = JOBAMOUNT; + jobLength = 40; for(int i = 0; i < jobLength; i++){ id[i] = i+1; size[i] = rand.nextInt(MEMORYSIZE / 10)+1; @@ -143,4 +143,4 @@ public class memoryManagement{ //Forcibly close down all threads System.exit(0); } -} +} \ No newline at end of file