Description
I'm having trouble with increasing the allowed table elements per table in the pooling allocator - i'm hitting the hard limit of 20k
Test Case
Too big of a wasm file to upload here.... (32Mb), it is accessible here: https://github.com/MA3CIN/wasmtime-error/blob/main/wasm-server.wasm
Steps to Reproduce
Run the wasm file with wastime server: "wasmtime serve wasm-server.wasm"
Expected Results
I expected the allowed table elements per table in the pooling allocator limit to be increased when using the -W max-table-elements cli arguments
Actual Results
I'm still hitting the limit
Versions and Environment
Wasmtime version or commit: wasmtime 31.0.0 (7a9be58 2025-03-20)
Operating system: Ubuntu 22.04.3 LTS
Architecture: N/A, single wasm instance
Extra Info
Works fine when i run it with wasmtime run, i only hit the limit with wasmtime serve..
Maybe a similar problem to #8504