Set max heap size of KorAP tokenizer to 512m

Change-Id: I463d3f1f16a8267b3f6e79d076923ce2326631fc
diff --git a/lib/KorAP/XML/TEI/Tokenizer/KorAP.pm b/lib/KorAP/XML/TEI/Tokenizer/KorAP.pm
index 2061382..f38ba6c 100644
--- a/lib/KorAP/XML/TEI/Tokenizer/KorAP.pm
+++ b/lib/KorAP/XML/TEI/Tokenizer/KorAP.pm
@@ -33,7 +33,7 @@
 # Construct a new KorAP Tokenizer
 sub new {
   my ($class, $sentence_split) = @_;
-  my $self = $class->SUPER::new("$java -jar $tokenizer_jar --no-tokens --positions" .
+  my $self = $class->SUPER::new("$java -Xmx512m -jar $tokenizer_jar --no-tokens --positions" .
       ($sentence_split? " --sentence-boundaries" : ""));
   $self->{sentence_split} = $sentence_split;
   $self->{name} = 'korap';