glance icon indicating copy to clipboard operation
glance copied to clipboard

When a mobile browser loads a compressed package with 25 files and a total size of 142m, the website crashes

Open linhuanfeng opened this issue 2 years ago • 9 comments

When a mobile browser loads a compressed package with 25 files and a total size of 142m, the website crashes The compressed package address:http://118.195.135.211:5656/1012-test.zip

linhuanfeng avatar Oct 18 '23 03:10 linhuanfeng

Can you open the browser devtools and send a screenshot of the console output if there are error there? It might be a memory constaint issue.

floryst avatar Oct 23 '23 17:10 floryst

Hello, I have another similar issue where adjusting transparency or color can easily cause crashes. And if I use other similar tools to open this file, there won't be similar problems. Perhaps it's because Glance consumes a lot of memory. So, assuming it's caused by memory, are there any solutions?thanks

linhuanfengQ avatar Oct 24 '23 08:10 linhuanfengQ

Regarding the browser console printing you mentioned, nothing was printed. When the number and size of files are large, the entire viewing interface will start to get too laggy, with a great delay until it finally crashes. If the color of the transparency of some files is changed during this period, showing and hiding files will quickly cause crashes

linhuanfengQ avatar Oct 24 '23 08:10 linhuanfengQ

Can you open the zip above me using your mobile browser yourself and you will know what the problem is? Thank you very much

linhuanfengQ avatar Oct 24 '23 09:10 linhuanfengQ

Can you open the zip above me using your mobile browser yourself and you will know what the problem is? Thank you very much

I get an error when visit that website - I've tried multiple times, and the file is not downloaded. Can you post the file on a file sharing server, gdrive, dropbox, or other system?

aylward avatar Oct 24 '23 16:10 aylward

My guess would be that the dataset is a bit large for a mobile device. I haven't done a test yet nor any memory measurements to validate this however.

floryst avatar Oct 24 '23 17:10 floryst

It could be too large - and some of the files in have Chinese characters in the name. Perhaps try renaming those files and splitting the zip file in half.

aylward avatar Oct 24 '23 19:10 aylward

Actually, I just loaded it on my motorola phone

Screenshot_20231024-152449

aylward avatar Oct 24 '23 19:10 aylward

事实上,我刚刚将其加载到我的摩托罗拉手机上

截图_20231024-152449

If you rotate or scale the model, there will be lag. Keep holding down the screen to slide smoothly, and if you slide and release it, there will be a situation of one card, one card, and there will be a delay and lack of intermediate process

linhuanfengQ avatar May 12 '24 04:05 linhuanfengQ