Skip to content

Fix num_elems capped to 65535, add a test to create the largest hashmap - #88

Merged
Zhihua Lai (doctorlai-msrc) merged 3 commits into
devfrom
issue87
May 1, 2025
Merged

Zhihua Lai (doctorlai-msrc) merged 3 commits into
devfrom
issue87

Conversation

@doctorlai-msrc

@doctorlai-msrc Zhihua Lai (doctorlai-msrc) commented Apr 29, 2025 •

Copy link
Copy Markdown
Collaborator

This PR includes the following improvements:

  1. Fixes mempool size limitation: Corrects an issue where num_elems was unintentionally capped at 65,535 due to the use of an incorrect type.
  2. Adds a stress test: Introduces a test case that loads a codelet containing a single large hashmap with the maximum supported size.
  3. Improves error reporting: Enhances the error message when large hashmap allocation fails, making it easier to identify out-of-memory issues.

This PR closes #87

@doctorlai-msrc
Zhihua Lai (doctorlai-msrc) marked this pull request as ready for review April 29, 2025 17:53
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

Successfully merging this pull request may close these issues.

2 participants