Discuss Scratch
- Discussion Forums
- » Bugs and Glitches
- » Project Crash: Out of Memory
- Careisfun
-
6 posts
Project Crash: Out of Memory
I posted a new project on Scratch, with quite a few (meaning 190) sound files. I made sure each was under the 10 MB limit before I pressed Share. Before I had pressed it, it worked quite well with me. But, as soon as I shared it, I kept getting the same error. So I tried using TurboWarp and ForkPhorus, but both failed, with the same error. Can someone please help me with this issue?
Project Link: https://scratch.mit.edu/projects/580011453/
TurboWarp Link: https://turbowarp.org/580011453
ForkPhorus Link: https://forkphorus.github.io/#580011453
Project Link: https://scratch.mit.edu/projects/580011453/
TurboWarp Link: https://turbowarp.org/580011453
ForkPhorus Link: https://forkphorus.github.io/#580011453
- D-ScratchNinja
-
1000+ posts
Project Crash: Out of Memory
Looks like it's trying to load more than 8 GB of content to memory, which seems to be why the page is crashing. It's possible that someone might be able to stop the memory getting filled up somehow or retrieve some information to help you get back to the project, but I don't know who that would be.
- Careisfun
-
6 posts
Project Crash: Out of Memory
If someone downloads it, will it still work?
- D-ScratchNinja
-
1000+ posts
Project Crash: Out of Memory
You could export the assets from one, although it might be an involved process and you might have to already have a download before the page started crashing in order to recover the assets. The Scratch app might not be able to open it, it would run into a similar problem, I'm expecting. If someone downloads it, will it still work?
- ScolderCreations
-
1000+ posts
Project Crash: Out of Memory
I know what to do: get the numbers in the URL of the project. Then, go to https://projects.scratch.mit.edu/ and paste the numbers at the end of it. Then, download the file that it shows you, and import that file into the offline editor. Then, you can see your project, and delete anything you don't need. Save it, and then, delete the one currently on the website, and replace it with the one you just edited.
- Careisfun
-
6 posts
Project Crash: Out of Memory
Where do you find the offline editor? (sorry, I'm dumb)
- Flowermanvista
-
1000+ posts
Project Crash: Out of Memory
https://projects.scratch.mit.edu/ and paste the numbers at the end of it. Then, download the file that it shows you, and import that file into the offline editor. Then, you can see your project, and delete anything you don't need. Save it, and then, delete the one currently on the website, and replace it with the one you just edited.That won't work - doing this for Scratch 2.0 and 3.0 projects will only download project.json, not the entire project. I know what to do: get the numbers in the URL of the project. Then, go to
Where do you find the offline editor? (sorry, I'm dumb)Right here.
Also, I don't think the offline editor would be any better for this anyways - in my experience, when doing memory-intensive things, the online editor will get very slow but continue to work when you run out of memory, while the offline editor will experience a white screen of death and stop working. (I am on Firefox, however, so your experience may differ).
- ScolderCreations
-
1000+ posts
Project Crash: Out of Memory
Surprisingly, you are wrong about that. Doing this method actually loads your assets in a much cleaner way since you can still open it in the editor.https://projects.scratch.mit.edu/ and paste the numbers at the end of it. Then, download the file that it shows you, and import that file into the offline editor. Then, you can see your project, and delete anything you don't need. Save it, and then, delete the one currently on the website, and replace it with the one you just edited.That won't work - doing this for Scratch 2.0 and 3.0 projects will only download project.json, not the entire project. I know what to do: get the numbers in the URL of the project. Then, go toWhere do you find the offline editor? (sorry, I'm dumb)Right here. Also, I don't think the offline editor would be any better for this anyways - in my experience, when doing memory-intensive things, the online editor will get very slow but continue to work when you run out of memory, while the offline editor will experience a white screen of death and stop working.
- Careisfun
-
6 posts
Project Crash: Out of Memory
How do I open the Scratch Project on the offline editor? I've already downloaded it, but it doesn't want to open on Scratch. I tried the “Upload from your Computer” option, but it doesn't show up there.
- Flowermanvista
-
1000+ posts
Project Crash: Out of Memory
(Wrong about what? Your post is ambiguous, so I'm guessing what part that is aimed at.) I don't believe I am. Try it yourself, you'll just get the JSON file and nothing else.Surprisingly, you are wrong about that. Doing this method actually loads your assets in a much cleaner way since you can still open it in the editor.https://projects.scratch.mit.edu/ and paste the numbers at the end of it. Then, download the file that it shows you, and import that file into the offline editor. Then, you can see your project, and delete anything you don't need. Save it, and then, delete the one currently on the website, and replace it with the one you just edited.That won't work - doing this for Scratch 2.0 and 3.0 projects will only download project.json, not the entire project. I know what to do: get the numbers in the URL of the project. Then, go to
If, by any chance, the file you're trying to open is a 160 KB file called 580011453, you can't directly open that in the Scratch 3.0 offline editor - that file is only the project.json file of your project. A full Scratch 3.0 project will contain both project.json and all of the project's assets inside of a .sb3 file. How do I open the Scratch Project on the offline editor? I've already downloaded it, but it doesn't want to open on Scratch. I tried the “Upload from your Computer” option, but it doesn't show up there.
Also, I'm not sure if this is what you wanted, but I have 16 GiB of RAM in my computer, and I was able to load the project and remove all of the music from the music player sprite. I put the result on one of my alt accounts, and you can view/download it here.
Last edited by Flowermanvista (Oct. 19, 2021 13:55:18)
- CST1229
-
1000+ posts
Project Crash: Out of Memory
But if you put that project.json in a zip, rename it to an sb3 then load it in the editor, it will try to download the missing assets from assets.scratch.mit.edu.(Wrong about what? Your post is ambiguous, so I'm guessing what part that is aimed at.) I don't believe I am. Try it yourself, you'll just get the JSON file and nothing else.Surprisingly, you are wrong about that. Doing this method actually loads your assets in a much cleaner way since you can still open it in the editor. -snip-
(At least, that's what the online editor and TurboWarp Desktop does.)
- Flowermanvista
-
1000+ posts
Project Crash: Out of Memory
Neat, I didn't know that. I still don't think it would be very useful in OP's case because from what I can tell, their computer simply doesn't have enough memory to load the project.But if you put that project.json in a zip, rename it to an sb3 then load it in the editor, it will try to download the missing assets from assets.scratch.mit.edu. ~snip~
(At least, that's what the online editor and TurboWarp Desktop does.)
Last edited by Flowermanvista (Oct. 19, 2021 15:27:34)
- Careisfun
-
6 posts
Project Crash: Out of Memory
Flowermanvista, my dad banned me from TurboWarp (long story, don't ask). Is there another way I could download it?
- Flowermanvista
-
1000+ posts
Project Crash: Out of Memory
Sure. I've shared the project Flowermanvista, my dad banned me from TurboWarp (long story, don't ask). Is there another way I could download it?here.
- 2558il
-
100+ posts
Project Crash: Out of Memory
8gb?sounds like an allocation issue, change to 16 or 32
- Digitat321
-
18 posts
Project Crash: Out of Memory
I posted a new project on Scratch, with quite a few (meaning 190) sound files. I made sure each was under the 10 MB limit before I pressed Share. Before I had pressed it, it worked quite well with me. But, as soon as I shared it, I kept getting the same error. So I tried using TurboWarp and ForkPhorus, but both failed, with the same error. Can someone please help me with this issue?
Project Link: https://scratch.mit.edu/projects/580011453/
TurboWarp Link: https://turbowarp.org/580011453
ForkPhorus Link: https://forkphorus.github.io/#580011453
If you have them on your pc (its alot so i don't expect you to have all of them if the you DO have them on your computer, you could convert them to smaller audio files (for example a .WAV audio file is big and usually 10+MB so you could use a website like zamzar to convert it to .mp3 files, which are significantly smaller.)
- Discussion Forums
- » Bugs and Glitches
-
» Project Crash: Out of Memory