It looks like your project is using too much memory. But let us know the project name and we’ll take a look. If your project is private, either make it public temporarily or DM me a join link so we can view the code. Thanks.
Thank you for your reply.
My project name is “school3”.
And I copied school5,school7, school11 from school3 by remix
Probably this error is to due school3.
You’re using too much memory. So the first thing to do is identify what’s using it up. You can do this by disabling one part of you project at a time, and look how ram usage changes. Follow this rule until you identified the lines of code that take up all that ram.
IAs I calmed down, I saw it,
When initializing array data, I used a large memory.
I commented out that part and it worked normally.
The part of the problem is
/ *
for (var j = 0; j <wy / 16; j ++) {
datA.push ([]);
for (var i = 0; i <wx / 16; i ++) {
datA [j]. push ([]);
for (var b = 0; b <wy / 16; b ++) {
datA [j] [i]. push ([]);
for (var a = 0; a <wx / 16; a ++) {
datA [j] [i] [b]. push (0);
}
}
}
} * /