#201 Browser crashes on accessing big files

Open
opened 1 week ago by FlyingFlamingo · 4 comments

I have tried to search for duplicates, but could not find any. When I open this file for example, firefox becomes unresponsive due to the file being too big. Maybe the maximum file size to be shown in the preview should be decreased? In GH at least I have no option to preview such a large file.

I have tried to search for duplicates, but could not find any. When I open [this file for example](https://codeberg.org/FlyingFlamingo/BioPython-Analyzer/src/branch/master/Sample%20Input/Subject/genomic%20%282%29.gbff), firefox becomes unresponsive due to the file being too big. Maybe the maximum file size to be shown in the preview should be decreased? In GH at least I have no option to preview such a large file.
hw added the
enhancement
label 1 week ago
hw commented 1 week ago
Owner

This seems to be a worthwhile enhancement to gitea, could you report this in the gitea issue tracker?

cc: @6543

This seems to be a worthwhile enhancement to gitea, could you report this in the gitea issue tracker? cc: @6543
hw commented 1 week ago
Owner

Another option btw could be to pass these particular files to an external renderer, maybe? Is it possible to “preview” these? If so, and there are tools that render these efficiently to HTML, a PR doing this very welcome!

[*] https://docs.gitea.io/en-us/external-renderers/

Another option btw could be to pass these particular files to an external renderer, maybe? Is it possible to "preview" these? If so, and there are tools that render these efficiently to HTML, a PR doing this very welcome! [*] https://docs.gitea.io/en-us/external-renderers/
6543 commented 1 week ago

Lazy loading would solve the problem

Lazy loading would solve the problem
FlyingFlamingo commented 3 days ago
Poster

I’ve opened an issue on gitea’s issue tracker, here. Maybe this issue needs to be tagged “gitea-related issue”?

I've opened an issue on gitea's issue tracker, [here](https://github.com/go-gitea/gitea/issues/12141). Maybe this issue needs to be tagged "gitea-related issue"?
hw added the
gitea-related issue
label 3 days ago
Sign in to join this conversation.
No Milestone
No Assignees
3 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.