WARP-LAB / files_3dmodelviewer

3D Model Viewer for Nextcloud
GNU Affero General Public License v3.0
31 stars 6 forks source link

Large files will time out with out of memory error on browser. #12

Closed AbsolutePhoenix closed 1 year ago

AbsolutePhoenix commented 1 year ago

i have version 0.0.8 installed from the app store (non snap edition). When I click a model file that is 16 MB or lower it loads fine. but when I click on a model file that is bigger then 16 MB the web page crashes with an out of memory error. I have tired on Opera GX, Chrome, and Edge. I have increased the php memory in the php.ini to 16 GB and I have tried everything I can think of. https://3dviewer.net does not have an issue with the file and is able to load it in a matter of seconds and responds quickly. Am i missing somthing and not changing the ram limits somewhere that i should be.

Below is what i get in my nextcloud instance image

Below is what i get on https://3dviewer.net image

AbsolutePhoenix commented 1 year ago

I should mention that I am using next-cloud 26 and the files that are failing to load are STL format. when I convert it to OBJ it loads. But this isn't feasible for my use case.

kroko commented 1 year ago

Thank you for the report. Duplictate / known Issue / related to https://github.com/WARP-LAB/files_3dmodelviewer/issues/8 (will close this, please follow the existing ticket to get updates on soving this issue). Thanks!

EDIT: Really busy now, but hopefully will have time within a week to look into this.