Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
linhuanfeng opened this issue Oct 18, 2023 · 9 comments
Assignees

Comments

@linhuanfeng
Copy link

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

@floryst
Copy link
Collaborator

floryst commented Oct 23, 2023

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.

@linhuanfengQ
Copy link

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
Copy link

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
Copy link

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

@aylward
Copy link
Contributor

aylward commented Oct 24, 2023

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?

@floryst
Copy link
Collaborator

floryst commented Oct 24, 2023

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.

@aylward
Copy link
Contributor

aylward commented Oct 24, 2023

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
Copy link
Contributor

aylward commented Oct 24, 2023

Actually, I just loaded it on my motorola phone

Screenshot_20231024-152449

@linhuanfengQ
Copy link

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

截图_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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants