Is it necessary to load all temporary files into memory? (onefile mode, windows)
See original GitHub issue-
Nuitka version, full Python version, flavor, OS, etc.:
0.7.6 Commercial: None Python: 3.10.3 (tags/v3.10.3:a342a49, Mar 16 2022, 12:53:06) [MSC v.1929 32 bit (Intel)] Flavor: Unknown Executable: D:\Python\Python310-32\python.exe OS: Windows Arch: x86 WindowsRelease: 10
-
How did you install Nuitka and Python pip without virtualenv and python from python.org
-
Issue/Question When running the Nuitka onefile mode compiled executable, all files (identical to the contents of the
*.dist
directory) are extracted to a temporary directory. Is it necessary to have all those files also loaded into memory?Maybe this is not really a problem for projects with small
*.dist
directory sizes. However, if the size is large enough (e.g. > 500 MB) of course it will greatly increase the memory usage. Tested on Windows 8.1, 10, and 11.
Thank you.
Issue Analytics
- State:
- Created a year ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
Temporary Files hogging my memory - Microsoft Community
Type Disk in Cortana Search and click Disk Cleanup. Another way to do this is through Storage Sense. Type Storage in Cortana >...
Read more >Using Spec Files - PyInstaller
Clean PyInstaller cache and remove temporary files before building. ... Applicable only to onedir mode; in onefile mode, the manifest is always embedded, ......
Read more >Python tempfile module - GeeksforGeeks
First, we have to import tempfile then the file is created using the TemporaryFile() function. The file is opened in w+b (both read...
Read more >File system - Wikipedia
In computing, file system or filesystem (often abbreviated to fs) is a method and data structure that the operating system uses to control...
Read more >The Python tempfile Module - Stack Abuse
Temporary files, or "tempfiles", are mainly used to store intermediate information on disk for an application. These files are normally created ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is part of the current pre-release and will be in 0.8 release.
Part of 0.8 release that I just made.