Skip to content
This repository has been archived by the owner on Nov 9, 2018. It is now read-only.

Commit

Permalink
👹 set start tale.jar mem
Browse files Browse the repository at this point in the history
  • Loading branch information
hellokaton committed Sep 10, 2017
1 parent e518642 commit 7fb7598
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tale-cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func doStart(ctx *cli.Context) {
fmt.Println("Tale 已经启动.")
} else {
jarFileName := findJarFileName("./")
cmd := exec.Command("java", "-jar", jarFileName, "&")
cmd := exec.Command("java", "-jar", "-Xms128m", "-Xmx128m", jarFileName, "&")
cmd.Dir = "."
// 重定向标准输出到文件
stdout, err := os.OpenFile("tale.log", os.O_CREATE|os.O_WRONLY, 0600)
Expand Down

0 comments on commit 7fb7598

Please sign in to comment.