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 aed9fd1cee9d717246b2387fdb94ae64fc4ff283..860bf11d9845eca48c6610908bed778d29901061 100644 (file)
@@ -4,6 +4,9 @@ version '1.0-SNAPSHOT'
 apply plugin: 'java'
 apply plugin: 'application'
 
 apply plugin: 'java'
 apply plugin: 'application'
 
+// Increase max memory
+applicationDefaultJvmArgs = ["-Xmx64g"]
+
 sourceCompatibility = 1.8
 
 //mainClassName = "edu.uci.iotproject.Main"
 sourceCompatibility = 1.8
 
 //mainClassName = "edu.uci.iotproject.Main"
index 76294a896773bffde1f605055534e9d3fefaa11c..aa0613c14c21309b40e117919aab590161f97dd6 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 + "/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";
 
         // TODO: The following one is very long!!!
 //        final String inputPcapFile = path + "/UNSW/16-10-12.pcap";