hobuinc / greyhound

Greyhound is a point cloud streaming server. It should be considered deprecated for now. Use Entwine and Entwine Point Tile directly if you just want to serve point cloud web services.
https://greyhound.io
Apache License 2.0
131 stars 51 forks source link

Cannot enlarge memory arrays. #45

Closed pogilon closed 7 years ago

pogilon commented 7 years ago

Hello @connormanning. With a new data, I am getting the following error in the browser coming from the greyhoundbinarydecoderworker.js. Any ideas what could it be or how to solve it? Thanks!

"Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value 117440512, (2) compile with ALLOW_MEMORY_GROWTH which adjusts the size at runtime but prevents some optimizations, or (3) set Module.TOTAL_MEMORY before the program runs."

pogilon commented 7 years ago

Hello @connormanning. I just adjusted the TOTAL_MEMORY in the GreyhoundBinaryDecoderWorker.js" file. Could you please let me know what are the implications of increasing this value or what are those "some optimizations" that would be prevented if ALLOW_MEMORY_GROWTH is activated? Thanks!

connormanning commented 7 years ago

I don't know - you're talking about client settings of which I have little knowledge. I've also never seen this error personally. If you provide data I could try to recreate (in which case reopen this), but otherwise I have no ideas about this.