Skip to content

Commit

Permalink
don't go crazy on many core machines
Browse files Browse the repository at this point in the history
  • Loading branch information
brendano committed Sep 19, 2012
1 parent 52a7d23 commit 4f9c94c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion runTagger.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
set -eu

# Run the tagger (and tokenizer).
java -Xmx500m -jar $(dirname $0)/ark-tweet-nlp-0.3.jar "$@"
java -XX:ParallelGCThreads=2 -Xmx500m -jar $(dirname $0)/ark-tweet-nlp-0.3.jar "$@"
2 changes: 1 addition & 1 deletion twokenize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
# Only run the tokenizer.

set -eu
java -Xmx100m -jar $(dirname $0)/ark-tweet-nlp-0.3.jar --just-tokenize "$@"
java -XX:ParallelGCThreads=2 -Xmx100m -jar $(dirname $0)/ark-tweet-nlp-0.3.jar --just-tokenize "$@"

0 comments on commit 4f9c94c

Please sign in to comment.