优化代码

This commit is contained in:
chenxudong 2025-06-05 11:22:03 +08:00
parent ac69e84f6a
commit cca03566a9
3 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@
install.spec
start.spec
build/
~$据库本地运行.docx

View File

@ -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
# 重定向输出到日志文件

Binary file not shown.