Revert back to full MondayWorkhours file; increase Xmx to 64GB as default when run...
authorJanus Varmarken <varmarken@gmail.com>
Wed, 28 Nov 2018 01:16:10 +0000 (17:16 -0800)
committerJanus Varmarken <varmarken@gmail.com>
Wed, 28 Nov 2018 01:16:10 +0000 (17:16 -0800)
Code/Projects/SmartPlugDetector/build.gradle
Code/Projects/SmartPlugDetector/src/main/java/edu/uci/iotproject/detection/SignatureDetector.java

index aed9fd1..860bf11 100644 (file)
@@ -4,6 +4,9 @@ version '1.0-SNAPSHOT'
 apply plugin: 'java'
 apply plugin: 'application'
 
+// Increase max memory
+applicationDefaultJvmArgs = ["-Xmx64g"]
+
 sourceCompatibility = 1.8
 
 //mainClassName = "edu.uci.iotproject.Main"
index 76294a8..aa0613c 100644 (file)
@@ -92,8 +92,7 @@ public class SignatureDetector implements PacketListener, ClusterMatcher.Cluster
 //        final String inputPcapFile = path + "/UNSW/16-10-01.pcap";
 //        final String inputPcapFile = path + "/UNSW/16-10-06.pcap";
         // Negative test: dataset from UNB
-//        final String inputPcapFile = path + "/evaluation/negative-datasets/UNB/Monday-WorkingHours_one-local-endpoint.pcap";
-        final String inputPcapFile = path + "/evaluation/negative-datasets/UNB/Monday-WorkingHours_one-local-endpoint-subsample_00009_20170703102920.pcap";
+        final String inputPcapFile = path + "/evaluation/negative-datasets/UNB/Monday-WorkingHours_one-local-endpoint.pcap";
 
         // TODO: The following one is very long!!!
 //        final String inputPcapFile = path + "/UNSW/16-10-12.pcap";