feat(gta/core): dynamic pool resizing
A very preliminary attempt at abusing virtual memory to allow for dynamically-"resizable" pools. At the moment eligible pools need to be manually specified with a hash and size/growth policies.
Can be enabled by passing -poolhacks as a command line option.
Note that there's still a fixed upper limit, but it can be raised much higher because the actual memory is only committed on an as-needed basis.
Ideally we get this working with the TxdStore pool but that needs me to either:
- Hardcode its location somehow
- Figure out how to exclude pre-allocated pools from pool hackery and have reasonable defaults
duk doing stuff again!!!! no way
🙂

note: above is not fully working yet, streaming stuff also needs hashmap resize stuff
note: above is not fully working yet, streaming stuff also needs hashmap resize stuff
2802 has little space for extra txd Is it possible to have 105500 txd poolsize?
sincere congratulations to everyone on the fivem team :)