Could not reserve enough space for 2097152KB object heap

Hi All,
getting error “Could not reserve enough space for 2097152KB object heap” WHILE STARTING gatling.

Free RAM is 5 GB

Thanks,
Hari

Resolved by switching to 64bit jvm

So it looks like you’re trying to load a humongous object, probably a byte array, but the JVM can’t find consecutive space to allocate it.