Skip to content

What is the size limit of the vtk files that can be uploaded? #49

Discussion options

You must be logged in to vote

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.

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

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@DanielSevilla2897
Comment options

@jourdain
Comment options

Answer selected by jourdain
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants