Closed akaustel closed 9 years ago
Well, hashtable since version 0.4.0 can have any v8 Value as a key or value and not just strings. That means that the objects need to be retained within v8, and I'm pretty sure v8 is still 32-bit capped.
I'm thinking of changing hashtable back to only using strings as keys and values, in that case, in a 64-bit os and executable you could probably get more than 4GB stored.
I'm not sure if it is related, but it would seem that the when I reach 4GiB of memeory usage the result is a segmentation fault:
or JS Allocation failed:
I'm on Linux (Mint 64-bit).
The code that produces this problem: