Find the answer to your Linux question:
Results 1 to 2 of 2
Hi all, Basically I can't start the JVM on a remote Debian server. I am using SSH to issue the commands, there is no desktop UI. I am fairly sure ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2008
    Posts
    33

    Can't start the Java Virtual Machine - memory problem?


    Hi all,

    Basically I can't start the JVM on a remote Debian server. I am using SSH to issue the commands, there is no desktop UI. I am fairly sure this is a dedicated server rather than a VPS (not 100% though).

    The error I'm getting is:
    Code:
    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    When I check memory usage, there seems to be plenty available, but no swap:
    Code:
                 total       used       free     shared    buffers     cached
    Mem:          3937        248       3688          0          0          0
    -/+ buffers/cache:        248       3688
    Swap:            0          0          0
    What I'm actually doing is trying to run "Liferay Portal" which is an application that runs under Tomcat. When I execute the startup.sh the above error can be found in the log.

    Any help is appreciated, thanks!

  2. #2
    Linux User
    Join Date
    Feb 2006
    Posts
    484
    i think this is mostly a free space problem. Is there enough free space on your hard disk?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •