DvorakDwarf / Infinite-Storage-Glitch

ISG lets you use YouTube as cloud storage for ANY files, not just video
GNU General Public License v3.0
11.43k stars 910 forks source link

memory allocation of x bytes failed #71

Closed cs-spacecat closed 1 year ago

cs-spacecat commented 1 year ago

Whenever i try to convert my Zip file, it gives me the error memory allocation of 126377099922 bytes failed

It works fine with the Test file (altough i cannot watch it for some reason), but when i try it with Important.zip (117GB) it gives me the above named error. Full version below.

Welcome to ISG (Infinite Storage Glitch)
This tool allows you to turn any file into a compression-resistant video that can be uploaded to YouTube for Infinite Storage:tm:

How to use:
1. Zip all the files you will be uploading
2. Use the embed option on the archive (THE VIDEO WILL BE SEVERAL TIMES LARGER THAN THE FILE, 4x in case of optimal compression resistance preset)
3. Upload the video to your YouTube channel. You probably want to keep it up as unlisted
4. Use the download option to get the video back
5. Use the dislodge option to get your files back from the downloaded video
6. PROFIT

> Pick what you want to do with the program Embed
> What is the path to your file ? src/important.zip

I couldn't figure out a weird bug that happens if you set the size to something that isn't a factor of the height
If you don't want the files you put in to come out as the audio/visual equivalent of a pipe bomb, account for the above bug

> You can use one of the existing presets or custom settings Optimal compression resistance
memory allocation of 126377099922 bytes failed
beyse commented 1 year ago

The memory allocation error tells you that the program failed to allocate 126377099922 bytes which is more than 126 GB. You know, that's a lot of memory... I think this is to be expected unless you have more than 126 GB of free RAM on your machine.

The README.md file also states:

There are several bugs that limit the use like the poor use of RAM limiting the size of files to about 100mb and they will remain.

cs-spacecat commented 1 year ago

oh ok, i didnt read that 😂 sorry