When trying to start the agent after installation as a service on Windows 2012 R@, I get the following error: "The QuickBuild Build Agent service terminated with the following service-specific error: Incorrect function."
When looking in the log, I see:
"jvm 5 | Error occurred during initialization of VM
jvm 5 | Could not reserve enough space for 2097152KB object heap
jvm 5 | Picked up _JAVA_OPTIONS: -Xmx2048M
wrapper | JVM exited while loading the application."
Even when I bump -Xmx to 4096M, I get the following "jvm 5 | The specified size exceeds the maximum representable size."
This is a proof of Concept, so if anyone could give me some direction, it would be much appreciated.
Thanks,