Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flet windows build crashes (high CPU & memory) #3306

Open
ofriDev opened this issue May 16, 2024 · 0 comments
Open

Flet windows build crashes (high CPU & memory) #3306

ofriDev opened this issue May 16, 2024 · 0 comments

Comments

@ofriDev
Copy link

ofriDev commented May 16, 2024

Description
HI!
I have a windows application that have some text fields.
It tooks these inputs and insert them to python script in the background.

While running it in the ordinary way (run with pycham) - the program works.
After flet build, I'm trying to open the exe file - I'm getting a blank screen with VERY high CPU & memory data.
After few minutes it crashes and closed.

I have a "tagging" folder with heavy files (which is very important for the logic) - I think the problem comes from there.
Here is the directory structure:
image

### How can I use the "tagging" folder files after building without reaching these levels of CPU & memory?

Describe the results you received:
After the build run:
image

Blank screen:
image

Here is the CPU & memory after opening the build exe:
image

Additional information you deem important (e.g. issue happens only occasionally):

Flet version (pip show flet):

Name: flet
Version: 0.22.1
Summary: Flet for Python - easily build interactive multi-platform apps in Python
Home-page:
Author: Appveyor Systems Inc.
Author-email: hello@flet.dev
License: Apache-2.0
Location: C:\Users\ofrir\AppData\Local\Programs\Python\Python311\Lib\site-packages
Requires: cookiecutter, fastapi, flet-runtime, packaging, qrcode, uvicorn, watchdog
Required-by:

Give your requirements.txt file (don't pip freeze, instead give direct packages):

matplotlib==3.8.4
pandas==2.2.2
rasterio==1.3.10
requests==2.31.0
piexif==1.1.3
ardupilot-log-reader==0.2.1
Pillow==10.3.0
flet==0.22.1
pyinstaller==6.6.0

Operating system:
Windows 10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant