8/30/2023 0 Comments Compress.bat and upx.exe downloadWith today's vast disk spaces, any executable, no matter how large, is of negligible size concerning disk storage. And when its memory is indeed needed for something else, parts of the executable must be swapped to the pagefile/swapspace, so it also requires more VM space overall, while not compressed executables don't normally need to go to the swapspace.Īfter fully stripping the executable, there is no harm from its size. Upxed files on the contrary must be loaded in whole, which means you must wait for all the 20 MB to load to RAM, and then it just stays there, needed or not. That means two things: fast loading and lower memory consumption. So, if you have a 20MB executable, when you start it, it can happen that OS loads just a megabyte or two from it, pulling other pages from the file as they are needed, and releasing them when they are not. The problem with upx is due to the nature of handling executables by the OS - they are memory mapped and demand paging is done directly from the file. I'd like to raise my voice against using upx one more time More specifically, against using upx without fully knowing the consequences of its use - if you know and accept those, why not.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |