Prepare code for execution on Zeus (including upping mem limit to 300gigs)
authorJanus Varmarken <varmarken@gmail.com>
Wed, 28 Nov 2018 03:14:22 +0000 (19:14 -0800)
committerJanus Varmarken <varmarken@gmail.com>
Wed, 28 Nov 2018 03:14:22 +0000 (19:14 -0800)
Code/Projects/SmartPlugDetector/build.gradle
Code/Projects/SmartPlugDetector/src/main/java/edu/uci/iotproject/detection/SignatureDetector.java

index 860bf11..bae10e9 100644 (file)
@@ -5,7 +5,7 @@ apply plugin: 'java'
 apply plugin: 'application'
 
 // Increase max memory
-applicationDefaultJvmArgs = ["-Xmx64g"]
+applicationDefaultJvmArgs = ["-Xmx300g"]
 
 sourceCompatibility = 1.8
 
index aa0613c..a3f8695 100644 (file)
@@ -31,7 +31,8 @@ public class SignatureDetector implements PacketListener, ClusterMatcher.Cluster
     public static void main(String[] args) throws PcapNativeException, NotOpenException {
 //        String path = "/scratch/July-2018"; // Rahmadi
 //        String path = "/Users/varmarken/temp/UCI IoT Project/experiments"; // Janus
-        String path = "/home/jvarmark/iot_project/datasets"; // Hera (server)
+//        String path = "/home/jvarmark/iot_project/datasets"; // Hera (server)
+        String path = "/raid/varmarken/iot_project/datasets"; // Zeus (server)
 
         // No activity test
         //final String inputPcapFile = path + "/evaluation/no-activity/no-activity.wlan1.pcap";