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

export size #302

Closed
lesath3d opened this issue Nov 27, 2024 · 15 comments
Closed

export size #302

lesath3d opened this issue Nov 27, 2024 · 15 comments

Comments

@lesath3d
Copy link

hello, I can't save as files which are bigger than 1,5GB and 6,5mill splats. if the limitation would be at least 10mill splats and 2-2,5GB for the detailed/big scans, that would be great.

@slimbuck
Copy link
Member

Hi @lesath3d ,

My macbook can export much larger scenes than that!

Few questions:

  1. what happens when you attempt to save?
  2. which platform and browser is this?
  3. which export format is this?

Thanks!

@lesath3d
Copy link
Author

1.: Error Loading File: Array buffer allocation failed while saving file
2.: Chrome
3.: Im using the "Save as", but it happens every single type of export

@slimbuck
Copy link
Member

Thanks, which platform? (Machine and OS)

@lesath3d
Copy link
Author

win 11 pro, 64gb ram, rtx 3090, ryzen 9 5900X

@simonbethke
Copy link
Contributor

Is that a file that you can provide for testing?
Is that something that happened once or can you somehow load but not save the file?
I once ran into the issue, that my undo-memory blew the app. I was able to save my work by clearing that manually in the guts of the memory :)
Thats the reason for implementing the Selection-Compression PR that aparently nobody is interested in #207

@lesath3d
Copy link
Author

I loaded & cleaned some splats and I cant save out with "save as". I deleted the half and saved out, hit undo, invert, delete that part as well, saved out. I think it shouldn't the memory issue.

@simonbethke
Copy link
Contributor

simonbethke commented Nov 27, 2024

Well, with every selection you make you increase the memory usage. I would suggest some kind of emergency-save function, that can be used in case the normal save fails. The emergency save would then warn the user and allow purging all memory that is not required for saving. Still, I assume that at some point the browser will need at least two times the size of the loaded data as memory. And chrome at least on Windows might have a hard limit there.

Gemini says that the maximum memory per tab for chrome on Windows is 1.8GB. For Firefox its 32GB.

Okay there are some techniques to get around this limitation. SharedBuffers for example. And right now you can either start chrome with command line options that allow more memory or set certain flags for that

@lesath3d
Copy link
Author

I increased the values of all the chaches/buffers, firefox is much better, but the limitation is still 2GB(chrome only 1,5). Id love a stand alone software :P

@willeastcott
Copy link
Contributor

@lesath3d Have you tried installing SuperSplat as a PWA?

https://blog.playcanvas.com/a-faster-supersplat-with-pwa-support/#pwa-support

I'm wondering whether Chrome will grant SuperSplat more memory in that mode.

@lesath3d
Copy link
Author

just tried, but still firefox looks the best. that can save until 2GB.
I tried on another PC with ryzen 9 5900X, 128gb ram and rtx 6000 ada, but same result

@simonbethke
Copy link
Contributor

hm, I cannot confirm this behavior. I just stored a 3.6GB file with chrome on windows.

@slimbuck
Copy link
Member

Hi @lesath3d

Did you find any solution here? I don't think the issue is on our side, but more likely your platform or browser settings. Since we can't control the browser memory limits and can't replicate the issue, I'm going to close this ticket.

If you manage to figure out what the issue is/was, please let us know.

And feel free to reopen the issue if you think there is something we can do to help.

@lesath3d
Copy link
Author

hello @slimbuck ,
sadly no. The limits on firefox is 2 gb at this moment. This looks the best option now, When I need to do anything with bigger splats I'm going to split it to parts and merge them with another software. I'd love to reopen this ticket, but if you can't do anything it looks pointless now.

@simonbethke
Copy link
Contributor

This sounds almost as if you were using a 32bit version of the browser

@lesath3d
Copy link
Author

it's 64bit version of the 1333.0 firefox

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