Maximum java heap space

1
We're trying to increase the java heap space, but after doing that the app fails starting. We're getting a timeout. We're using the mendix service console 2.2, connecting to a sql server database and deploying on windows 2003(32bits). We want to increase the heap space from 1536 to 2048, but after starting we'll get a timeout. Is there some max or anything else which could prevent the app from starting? EDIT: Seems that setting the max java heap higher than 1578mb causes an error: The server failed to start. See details for the server log. Error occured during initialization of VM. Could not reserve enough space for object heap. Some way to get around this except an OS upgrade?
asked
2 answers
1

I can start a Mendix application with version 2.2 of the Mendix service console just fine with max memory set to 8 GiB (even though the server only has 1 GiB of memory).

If not enough memory is available during startup you should see an error like "Could not reserve enough space for object heap". Is there anything like this in your m2ee_log.txt log file?

And is your application starting correctly with 1536 MiB of memory?

answered
1

On a 32-bit operating system, no not really. For some in-depth reading, see http://stackoverflow.com/questions/171205/java-maximum-memory-on-windows-xp for example.

answered