• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home
  • Public Forums
  • Application Monitoring & UEM
  • AppMon & UEM Open Q&A
avatar image
Question by Wanqi T. · Feb 10, 2012 at 01:30 AM ·

Could not reserve enough space for object heap

Hi Guys,

I am a newbie to Dynatrace software. I installed Dynatrace 4.1.0 on my local machine. I can start Dynatrace web server agent and analysis server but cannot start Dynatrace Server. I attached the screen of error message and piece of server log. Is there any body having the same issue? Could you please help me out here?
The server log:

2012-02-09 13:24:07 debug   [native] Starting "dynaTrace Server 4.1.0" as service...
2012-02-09 13:24:07 info    [native] -----------------------------------------------------------------------------
2012-02-09 13:24:07 info    [native]  dynaTrace Server, Copyright (C) 2004-2011, dynaTrace software GmbH
2012-02-09 13:24:07 info    [native] -----------------------------------------------------------------------------
2012-02-09 13:24:07 info    [native] Native Launcher version: 4.1.0.2898 - built 2011-12-22 13:47:49 +0100
2012-02-09 13:24:07 info    [native] Starting service "dynaTrace Server 4.1.0"...
2012-02-09 13:24:07 info    [native] Launcher configuration summary for dynaTrace Server:
2012-02-09 13:24:07 info    [native]   Launcher: C:\Program Files\dynaTrace\dynaTrace 4.1.0\dtserver.exe
2012-02-09 13:24:07 info    [native]   Java VM:  C:\Program Files\dynaTrace\dynaTrace 4.1.0\jre\bin\java.exe
2012-02-09 13:24:07 info    [native]   Java version: 1.6.0_27 32-Bit
2012-02-09 13:24:07 info    [native]   Working directory:  C:\Program Files\dynaTrace\dynaTrace 4.1.0\server
2012-02-09 13:24:07 info    [native]   Configuration file: C:\Program Files\dynaTrace\dynaTrace 4.1.0\dtserver.ini
2012-02-09 13:24:07 info    [native]   Pid file: C:\DOCUME~1\LOCALS~1\LOCALS~1\Temp\dtserver.pid
2012-02-09 13:24:07 info    [native]   Native watchdog enabled, port: 50001, timeout: 180 sec (timeout for graceful shutdown: 300 sec)
2012-02-09 13:24:07 info    [native] Process created successfully, pid: 14376
2012-02-09 13:24:07 info    [java  ] ServerHelperAgent loaded
2012-02-09 13:24:07 info    [java  ] Error occurred during initialization of VM
2012-02-09 13:24:07 info    [java  ] Could not reserve enough space for object heap
2012-02-09 13:24:07 severe  [java  ] Could not create the Java virtual machine.
2012-02-09 13:24:07 info    [native] Process 14376 terminated, exitcode: 1
2012-02-09 13:24:07 severe  [native] Process terminated unexpectedly!
2012-02-09 13:24:07 info    [native] Restarting dynaTrace Server...
2012-02-09 13:24:07 info    [native] Launcher configuration summary for dynaTrace Server:
2012-02-09 13:24:07 info    [native]   Launcher: C:\Program Files\dynaTrace\dynaTrace 4.1.0\dtserver.exe
2012-02-09 13:24:07 info    [native]   Java VM:  C:\Program Files\dynaTrace\dynaTrace 4.1.0\jre\bin\java.exe
2012-02-09 13:24:07 info    [native]   Java version: 1.6.0_27 32-Bit
2012-02-09 13:24:07 info    [native]   Working directory:  C:\Program Files\dynaTrace\dynaTrace 4.1.0\server
2012-02-09 13:24:07 info    [native]   Configuration file: C:\Program Files\dynaTrace\dynaTrace 4.1.0\dtserver.ini
2012-02-09 13:24:07 info    [native]   Pid file: C:\DOCUME~1\LOCALS~1\LOCALS~1\Temp\dtserver.pid
2012-02-09 13:24:07 info    [native]   Native watchdog enabled, port: 50001, timeout: 180 sec (timeout for graceful shutdown: 300 sec)
2012-02-09 13:24:07 info    [native] Process created successfully, pid: 15520
2012-02-09 13:24:07 info    [java  ] ServerHelperAgent loaded
2012-02-09 13:24:07 info    [java  ] Error occurred during initialization of VM
2012-02-09 13:24:07 info    [java  ] Could not reserve enough space for object heap
2012-02-09 13:24:07 severe  [java  ] Could not create the Java virtual machine.
2012-02-09 13:24:07 info    [native] Process 15520 terminated, exitcode: 1
2012-02-09 13:24:07 severe  [native] Process terminated unexpectedly!
2012-02-09 13:24:07 info    [native] Restarting dynaTrace Server...
2012-02-09 13:24:07 info    [native] Launcher configuration summary for dynaTrace Server:
2012-02-09 13:24:07 info    [native]   Launcher: C:\Program Files\dynaTrace\dynaTrace 4.1.0\dtserver.exe
2012-02-09 13:24:07 info    [native]   Java VM:  C:\Program Files\dynaTrace\dynaTrace 4.1.0\jre\bin\java.exe
2012-02-09 13:24:07 info    [native]   Java version: 1.6.0_27 32-Bit
2012-02-09 13:24:07 info    [native]   Working directory:  C:\Program Files\dynaTrace\dynaTrace 4.1.0\server
2012-02-09 13:24:07 info    [native]   Configuration file: C:\Program Files\dynaTrace\dynaTrace 4.1.0\dtserver.ini
2012-02-09 13:24:07 info    [native]   Pid file: C:\DOCUME~1\LOCALS~1\LOCALS~1\Temp\dtserver.pid
2012-02-09 13:24:07 info    [native]   Native watchdog enabled, port: 50001, timeout: 180 sec (timeout for graceful shutdown: 300 sec)
2012-02-09 13:24:07 info    [native] Process created successfully, pid: 13456
2012-02-09 13:24:07 info    [java  ] ServerHelperAgent loaded
2012-02-09 13:24:07 info    [java  ] Error occurred during initialization of VM
2012-02-09 13:24:07 info    [java  ] Could not reserve enough space for object heap
2012-02-09 13:24:07 severe  [java  ] Could not create the Java virtual machine.
2012-02-09 13:24:07 info    [native] Process 13456 terminated, exitcode: 1
2012-02-09 13:24:07 severe  [native] Process terminated unexpectedly!
2012-02-09 13:24:07 info    [native] Restarting dynaTrace Server...
2012-02-09 13:24:07 info    [native] Launcher configuration summary for dynaTrace Server:
2012-02-09 13:24:07 info    [native]   Launcher: C:\Program Files\dynaTrace\dynaTrace 4.1.0\dtserver.exe
2012-02-09 13:24:07 info    [native]   Java VM:  C:\Program Files\dynaTrace\dynaTrace 4.1.0\jre\bin\java.exe
2012-02-09 13:24:07 info    [native]   Java version: 1.6.0_27 32-Bit
2012-02-09 13:24:07 info    [native]   Working directory:  C:\Program Files\dynaTrace\dynaTrace 4.1.0\server
2012-02-09 13:24:07 info    [native]   Configuration file: C:\Program Files\dynaTrace\dynaTrace 4.1.0\dtserver.ini
2012-02-09 13:24:07 info    [native]   Pid file: C:\DOCUME~1\LOCALS~1\LOCALS~1\Temp\dtserver.pid
2012-02-09 13:24:07 info    [native]   Native watchdog enabled, port: 50001, timeout: 180 sec (timeout for graceful shutdown: 300 sec)
2012-02-09 13:24:07 info    [native] Process created successfully, pid: 15132
2012-02-09 13:24:07 info    [java  ] ServerHelperAgent loaded
2012-02-09 13:24:07 info    [java  ] Error occurred during initialization of VM
2012-02-09 13:24:07 info    [java  ] Could not reserve enough space for object heap
2012-02-09 13:24:07 severe  [java  ] Could not create the Java virtual machine.
2012-02-09 13:24:07 info    [native] Process 15132 terminated, exitcode: 1
2012-02-09 13:24:07 severe  [native] Process terminated unexpectedly!
2012-02-09 13:24:07 severe  [native] Restart counter exceeded the maximum of 3 restarts in sequence (time delay between restarts less than 60 seconds)
2012-02-09 13:24:08 info    [native] dynaTrace Server terminated
2012-02-09 13:24:08 severe  [native] Service exit code: 1
2012-02-09 13:24:08 debug   [native] Service "dynaTrace Server 4.1.0" was stopped.
2012-02-09 13:24:07 debug   [native] Starting "dynaTrace Server 4.1.0" as service...

2012-02-09 13:24:07 info    [native] -----------------------------------------------------------------------------

2012-02-09 13:24:07 info    [native]  dynaTrace Server, Copyright (C) 2004-2011, dynaTrace software GmbH

2012-02-09 13:24:07 info    [native] -----------------------------------------------------------------------------

2012-02-09 13:24:07 info    [native] Native Launcher version: 4.1.0.2898 - built 2011-12-22 13:47:49 +0100

2012-02-09 13:24:07 info    [native] Starting service "dynaTrace Server 4.1.0"...

2012-02-09 13:24:07 info    [native] Launcher configuration summary for dynaTrace Server:

2012-02-09 13:24:07 info    [native]   Launcher: C:\Program Files\dynaTrace\dynaTrace 4.1.0\dtserver.exe

2012-02-09 13:24:07 info    [native]   Java VM:  C:\Program Files\dynaTrace\dynaTrace 4.1.0\jre\bin\java.exe

2012-02-09 13:24:07 info    [native]   Java version: 1.6.0_27 32-Bit

2012-02-09 13:24:07 info    [native]   Working directory:  C:\Program Files\dynaTrace\dynaTrace 4.1.0\server

2012-02-09 13:24:07 info    [native]   Configuration file: C:\Program Files\dynaTrace\dynaTrace 4.1.0\dtserver.ini

2012-02-09 13:24:07 info    [native]   Pid file: C:\DOCUME~1\LOCALS~1\LOCALS~1\Temp\dtserver.pid

2012-02-09 13:24:07 info    [native]   Native watchdog enabled, port: 50001, timeout: 180 sec (timeout for graceful shutdown: 300 sec)

2012-02-09 13:24:07 info    [native] Process created successfully, pid: 14376

2012-02-09 13:24:07 info    [java  ] ServerHelperAgent loaded

2012-02-09 13:24:07 info    [java  ] Error occurred during initialization of VM

2012-02-09 13:24:07 info    [java  ] Could not reserve enough space for object heap

2012-02-09 13:24:07 severe  [java  ] Could not create the Java virtual machine.

2012-02-09 13:24:07 info    [native] Process 14376 terminated, exitcode: 1

2012-02-09 13:24:07 severe  [native] Process terminated unexpectedly!

2012-02-09 13:24:07 info    [native] Restarting dynaTrace Server...

2012-02-09 13:24:07 info    [native] Launcher configuration summary for dynaTrace Server:

2012-02-09 13:24:07 info    [native]   Launcher: C:\Program Files\dynaTrace\dynaTrace 4.1.0\dtserver.exe

2012-02-09 13:24:07 info    [native]   Java VM:  C:\Program Files\dynaTrace\dynaTrace 4.1.0\jre\bin\java.exe

2012-02-09 13:24:07 info    [native]   Java version: 1.6.0_27 32-Bit

2012-02-09 13:24:07 info    [native]   Working directory:  C:\Program Files\dynaTrace\dynaTrace 4.1.0\server

2012-02-09 13:24:07 info    [native]   Configuration file: C:\Program Files\dynaTrace\dynaTrace 4.1.0\dtserver.ini

2012-02-09 13:24:07 info    [native]   Pid file: C:\DOCUME~1\LOCALS~1\LOCALS~1\Temp\dtserver.pid

2012-02-09 13:24:07 info    [native]   Native watchdog enabled, port: 50001, timeout: 180 sec (timeout for graceful shutdown: 300 sec)

2012-02-09 13:24:07 info    [native] Process created successfully, pid: 15520

2012-02-09 13:24:07 info    [java  ] ServerHelperAgent loaded

2012-02-09 13:24:07 info    [java  ] Error occurred during initialization of VM

2012-02-09 13:24:07 info    [java  ] Could not reserve enough space for object heap

2012-02-09 13:24:07 severe  [java  ] Could not create the Java virtual machine.

2012-02-09 13:24:07 info    [native] Process 15520 terminated, exitcode: 1

2012-02-09 13:24:07 severe  [native] Process terminated unexpectedly!

2012-02-09 13:24:07 info    [native] Restarting dynaTrace Server...

2012-02-09 13:24:07 info    [native] Launcher configuration summary for dynaTrace Server:

2012-02-09 13:24:07 info    [native]   Launcher: C:\Program Files\dynaTrace\dynaTrace 4.1.0\dtserver.exe

2012-02-09 13:24:07 info    [native]   Java VM:  C:\Program Files\dynaTrace\dynaTrace 4.1.0\jre\bin\java.exe

2012-02-09 13:24:07 info    [native]   Java version: 1.6.0_27 32-Bit

2012-02-09 13:24:07 info    [native]   Working directory:  C:\Program Files\dynaTrace\dynaTrace 4.1.0\server

2012-02-09 13:24:07 info    [native]   Configuration file: C:\Program Files\dynaTrace\dynaTrace 4.1.0\dtserver.ini

2012-02-09 13:24:07 info    [native]   Pid file: C:\DOCUME~1\LOCALS~1\LOCALS~1\Temp\dtserver.pid

2012-02-09 13:24:07 info    [native]   Native watchdog enabled, port: 50001, timeout: 180 sec (timeout for graceful shutdown: 300 sec)

2012-02-09 13:24:07 info    [native] Process created successfully, pid: 13456

2012-02-09 13:24:07 info    [java  ] ServerHelperAgent loaded

2012-02-09 13:24:07 info    [java  ] Error occurred during initialization of VM

2012-02-09 13:24:07 info    [java  ] Could not reserve enough space for object heap

2012-02-09 13:24:07 severe  [java  ] Could not create the Java virtual machine.

2012-02-09 13:24:07 info    [native] Process 13456 terminated, exitcode: 1

2012-02-09 13:24:07 severe  [native] Process terminated unexpectedly!

2012-02-09 13:24:07 info    [native] Restarting dynaTrace Server...

2012-02-09 13:24:07 info    [native] Launcher configuration summary for dynaTrace Server:

2012-02-09 13:24:07 info    [native]   Launcher: C:\Program Files\dynaTrace\dynaTrace 4.1.0\dtserver.exe

2012-02-09 13:24:07 info    [native]   Java VM:  C:\Program Files\dynaTrace\dynaTrace 4.1.0\jre\bin\java.exe

2012-02-09 13:24:07 info    [native]   Java version: 1.6.0_27 32-Bit

2012-02-09 13:24:07 info    [native]   Working directory:  C:\Program Files\dynaTrace\dynaTrace 4.1.0\server

2012-02-09 13:24:07 info    [native]   Configuration file: C:\Program Files\dynaTrace\dynaTrace 4.1.0\dtserver.ini

2012-02-09 13:24:07 info    [native]   Pid file: C:\DOCUME~1\LOCALS~1\LOCALS~1\Temp\dtserver.pid

2012-02-09 13:24:07 info    [native]   Native watchdog enabled, port: 50001, timeout: 180 sec (timeout for graceful shutdown: 300 sec)

2012-02-09 13:24:07 info    [native] Process created successfully, pid: 15132

2012-02-09 13:24:07 info    [java  ] ServerHelperAgent loaded

2012-02-09 13:24:07 info    [java  ] Error occurred during initialization of VM

2012-02-09 13:24:07 info    [java  ] Could not reserve enough space for object heap

2012-02-09 13:24:07 severe  [java  ] Could not create the Java virtual machine.

2012-02-09 13:24:07 info    [native] Process 15132 terminated, exitcode: 1

2012-02-09 13:24:07 severe  [native] Process terminated unexpectedly!

2012-02-09 13:24:07 severe  [native] Restart counter exceeded the maximum of 3 restarts in sequence (time delay between restarts less than 60 seconds)

2012-02-09 13:24:08 info    [native] dynaTrace Server terminated

2012-02-09 13:24:08 severe  [native] Service exit code: 1

2012-02-09 13:24:08 debug   [native] Service "dynaTrace Server 4.1.0" was stopped.

Comment
Ernesto R.
Chad T.

People who like this

2 Show 0
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

3 Replies

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image

Answer by Rob V. · Feb 10, 2012 at 01:34 AM

It sounds like you are out of memory on your machine. For getting started purposes, just run with the dynaTrace server service started. You do not need to start up  the Analysis Server or the collector service. Those are "extras" for "real" installations. For demo purposes on your machine the server service is all you need.

Rob

Comment
Chad T.

People who like this

1 Show 2 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Wanqi T. · Feb 10, 2012 at 01:40 AM 1
Share

Thanks for quick help here, Rob! I just tried to stop web server agent, collector and analysis server and tried to only start Dynatrace Server but the same error shows and the same server log stating not enough space for object heap. My machine has 3 GB of ram. And now i only use about 30% of CPU

avatar image Rob V. Wanqi T. · Feb 10, 2012 at 01:47 AM 1
Share

Hi Wanqi -

So next steps... How much free memory do you have (using Task Manager or something to see)? the dT server will come up wanting to allocate around 800M for its JVM. Do you have that much free?

You could lower this manually, by editing the server's startup INI file. Go here:

C:\Program Files\dynaTrace\dynaTrace 4.1.0\dtserver.ini

and you will see the arguments -Xmx and -Xms. You can try lowering them to 512 to see if that gets you started.

Does that let it come up?

avatar image

Answer by Christian S. · Feb 10, 2012 at 05:59 AM

just a little background about your JVM problem:

if you start a (HotSpot) JVM as a 32-bit process, you'll only be able to allocate around 1400M of heap at most. if you try more you get the error as seen above.

if you start it as a 64-bit process (requiring a 64-bit OS and 64-bit CPU, of course), you'll be able to allocate basically all the memory you've got left.

best,

Christian

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Wanqi T. · Feb 10, 2012 at 01:57 AM

Problem fixed! My dtserver.ini initially allocates 1536M to the arguments -Xmx and -Xms. I lowered them to 768M. Now i am able to start the server! Thanks so much, Rob!

Comment

People who like this

0 Show 1 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Rob V. · Feb 10, 2012 at 01:59 AM 1
Share

Great! Glad I could help. :-)

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api dashboard framework 7.0 appmon 7 health monitoring adk log monitoring services auto-detection uem webserver test automation license web performance monitoring ios nam probe collector migration mq web services knowledge sharing reports window java hybris javascript appmon sensors good to know extensions search 6.3+ server documentation easytravel web dashboard kibana system profile purelytics docker splunk 6.1 process groups account 7.2 rest dynatrace saas spa guardian appmon administration production user actions postgresql upgrade oneagent measures security Dynatrace Managed transactionflow technologies diagnostics user session monitoring unique users continuous delivery sharing configuration alerting NGINX splitting business transaction client 6.3 installation database scheduler apache mobileapp RUM php dashlet azure purepath agent 7.1 appmonsaas messagebroker nodejs 6.2 android sensor performance warehouse
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A