What is the size limit of the vtk files that can be uploaded? #49
-
Hello, Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Could you explain what you've done as 400 MB is rather small for trame/vtk rendering. Are you uploading it using the file infrastructure of trame or simply reading it from disk directly in Python? export WSLINK_MAX_MSG_SIZE=1000000000 # 1GB Again this is just speculation, as I'm not sure what you've been doing and if you are trying remote or local rendering... HTH, Seb |
Beta Was this translation helpful? Give feedback.
Hi @DanielSevilla2897,
Could you explain what you've done as 400 MB is rather small for trame/vtk rendering.
Are you uploading it using the file infrastructure of trame or simply reading it from disk directly in Python?
If you are uploading it, then yes the basic implementation will send your file over one websocket message and it will likely fail due to the 4KB limit defined by default. You can bump that value if you are in a trusted environment by defining the following environment variable.
Again this is just speculation, as I'm not sure what you've been doing and if you are trying remote or local rendering...
HTH,
Seb