Skip to content

Commit

Permalink
Removed old wikipathways cleaner; added new paxtools jvm opt;
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorRodchenkov committed Feb 21, 2024
1 parent b320921 commit 5f5185a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 92 deletions.
90 changes: 0 additions & 90 deletions src/main/java/cpath/cleaner/WikipathwaysCleaner.java

This file was deleted.

3 changes: 2 additions & 1 deletion src/main/java/cpath/service/ConsoleApplication.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@
@Profile({"admin"})
public class ConsoleApplication implements CommandLineRunner {
private static final Logger LOG = LoggerFactory.getLogger(ConsoleApplication.class);
private static final String javaRunPaxtools = "nohup $JAVA_HOME/bin/java -Xmx60g -jar paxtools.jar";
private static final String javaRunPaxtools = "nohup $JAVA_HOME/bin/java -Xmx64g " +
"-Dpaxtools.normalizer.use-latest-registry=true -Dpaxtools.core.use-latest-genenames=true -jar paxtools.jar";

@Autowired
private Service service;
Expand Down
2 changes: 1 addition & 1 deletion work/cpath2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export CPATH2_HOME="."
JDK_JAVA_OPTIONS="--add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED"
DEBUG_OPTS=""
#DEBUG_OPTS="-Dlogback.configurationFile=logback.xml -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=12345"
BASE_OPTS="-Dfile.encoding=UTF-8 -Xss32m -Xmx60g -Dpaxtools.normalizer.use-latest-registry=true"
BASE_OPTS="-Dfile.encoding=UTF-8 -Xss32m -Xmx60g -Dpaxtools.normalizer.use-latest-registry=true -Dpaxtools.core.use-latest-genenames=true"
#use List instead Map collections for read-only BioPAX model if we start the Web app but not if building the instance/data
EXTRA_OPTS="$BASE_OPTS -Dpaxtools.model.safeset=list -server"

Expand Down

0 comments on commit 5f5185a

Please sign in to comment.