You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thanks for compiling hnsw to webassembly! I am using this library for several of my open source packages.
I have found the following issue: When I try to load multiple indexes in parallel and read the saved index from indexeddb or diskemscripten FS using readIndex, Webassembly errors get thrown around. I don't get a specific error message. Just "webassembly.exception"
like this:
The error message doesn't have any real information attached to it.
--> my solution right now is to add a pause of 500ms before loading another index. And that seems to mitigate the issue for now.
Hi, thanks for compiling hnsw to webassembly! I am using this library for several of my open source packages.
I have found the following issue: When I try to load multiple indexes in parallel and read the saved index from indexeddb or diskemscripten FS using
readIndex
, Webassembly errors get thrown around. I don't get a specific error message. Just "webassembly.exception"like this:
The error message doesn't have any real information attached to it.
--> my solution right now is to add a pause of 500ms before loading another index. And that seems to mitigate the issue for now.
here is the code if you're interested:
https://github.com/Xyntopia/taskyon/blob/5bf6076ad4b3d456f05185bc5fbeac728c740a99/src/modules/vectorSearch.ts#L49
This works. But I want to throw that in here. Maybe there is an easy solution to this. My workaround is quiet dirty.
The text was updated successfully, but these errors were encountered: