Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

Windows Agent Service starting error #3787

dtidwell1224 ·

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,

  • replies 1
  • views 923
  • stars 0
robinshen ADMIN ·

Looks like you are using a 32-bit JVM which only allows 3G heap. To use more heap, you will need to use 64bit JVM. Also please note that QB6 requires Java6 and QB7 requires Java7.