优化代码
This commit is contained in:
parent
ac69e84f6a
commit
cca03566a9
|
|
@ -2,3 +2,4 @@
|
|||
install.spec
|
||||
start.spec
|
||||
build/
|
||||
~$据库本地运行.docx
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@ def start():
|
|||
try:
|
||||
ensure_dir(app_log_dir)
|
||||
new_jar_path = get_resource_path(jar_path)
|
||||
java_command = [new_java_path, "-jar", new_jar_path]
|
||||
java_command = [new_java_path, " -Xms4096m -Xmx4096m -jar", new_jar_path]
|
||||
# 创建新进程组(支持Unix/Windows的进程隔离)
|
||||
creation_flags = subprocess.CREATE_NEW_PROCESS_GROUP
|
||||
# 重定向输出到日志文件
|
||||
|
|
|
|||
BIN
数据库本地运行.docx
BIN
数据库本地运行.docx
Binary file not shown.
Loading…
Reference in New Issue