forked from nxt-ext/nxt
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompact.sh
More file actions
executable file
·13 lines (12 loc) · 799 Bytes
/
compact.sh
File metadata and controls
executable file
·13 lines (12 loc) · 799 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
echo "***********************************************************************"
echo "* This shell script will compact and reorganize the Nxt NRS database. *"
echo "* This process can take a long time. Do not interrupt the script *"
echo "* or shutdown the computer until it finishes. *"
echo "* *"
echo "* To compact the database used while in a desktop mode, i.e. located *"
echo "* under ~/.nxt/ , invoke this script as: *"
echo "* ./compact.sh -Dnxt.runtime.mode=desktop *"
echo "***********************************************************************"
java -Xmx1024m -cp "classes:lib/*:conf" $@ nxt.tools.CompactDatabase
exit $?