title: Not able to start Sonar Server
body: <p>I am using Sonar to generate code review reports of my project. But I am not able to start the server. I am getting </p>
  
  <blockquote>
    <p>HeapDumpOnOutOfMemoryError</p>
  </blockquote>
  
  <p>while running </p>
  
  <blockquote>
    <p>StartSonar.bat</p>
  </blockquote>
  
  <p>file.</p>
  
  <p>Please find the logs generated while sonar start up. </p>
  
  <blockquote>
    <p>C:\TEMP2\Sonar\sonarqube-4.5\bin\windows-x86-32>StartSonar.bat wrapper
    | --> Wrapper Started as Console wrapper  | Launching a JVM... jvm 1<br>
    | Wrapper (Version 3.2.3) <a href="http://wrapper.tanukisoftware.org" rel="noreferrer">http://wrapper.tanukisoftware.org</a> jvm 1    |
    Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved. jvm 1 
    | jvm 1    | 2015.07.28 07:30:51 INFO 
    app[o.s.p.m.JavaProcessLauncher] Launch process[search]:
    C:\Software\jdk1.6.0_18\jre\bin\java -Xmx256m -Xms256m - Xss256k
    -Djava.net.preferIPv4Stack=true -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyO nly -XX:+HeapDumpOnOutOfMemoryError -Djava.awt.headless=true -Djava.io.tmpdir=C:\TEMP2\Sonar\sonarqube-4.5\temp -cp ./lib/common/<em>;./lib/search/</em> org. sonar.search.SearchServer
    C:\Users\gxs114\AppData\Local\Temp\sq-process8934190933893070058properties
    jvm 1    | 2015.07.28 07:30:57 INFO  app[o.s.p.m.Monitor]
    Process[search] is up jvm 1    | 2015.07.28 07:30:57 INFO 
    app[o.s.p.m.JavaProcessLauncher] Launch process[web]:
    C:\Software\jdk1.6.0_18\jre\bin\java -Xmx768m -XX:MaxPermSi ze=160m
    -XX:+HeapDumpOnOutOfMemoryError -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djruby.management.enabled=fals e -Djava.io.tmpdir=C:\TEMP2\Sonar\sonarqube-4.5\temp -cp ./lib/common/<em>;./lib/server/</em> org.sonar.server.app.WebServer
    C:\Users\gxs114\AppData\Local\Te
    mp\sq-process4251708419326591677properties jvm 1    | 2015.07.28
    07:30:57 INFO  app[o.s.p.m.TerminatorThread] Process[search] is
    stopping jvm 1    | 2015.07.28 07:30:58 INFO 
    app[o.s.p.m.TerminatorThread] Process[search] is stopped wrapper  |
    &lt;-- Wrapper Stopped</p>
    
    <p>C:\TEMP2\Sonar\sonarqube-4.5\bin\windows-x86-32></p>
  </blockquote>
  
  <p>How can I solve this issue ? Any idea/solution appreciated.</p>