Results 1 to 3 of 3

Thread: Problems with Eclipse and Java

  1. #1

    Default Problems with Eclipse and Java

    Hello,
    I am using SUSE Linux 11.1 on a VMware Workstation 6.5.2, and I am encountering the following problem: After downloading and starting up the Eclipse environment for C++, I received an error message indicating a problem with memory allocation. Later I simply called "java" from the command line, and received the following error messages:

    java
    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    Could not create the Java virtual machine.

    Does anyone have an explanation?
    Regards,
    bostjanv

  2. #2

    Default Re: Problems with Eclipse and Java

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Looks like you are out of memory. Are you? Is this error on the host or
    in the VM? Are you running VMs at the time? Post the output from the
    following, please:

    free
    df -h
    ps aux

    Good luck.





    bostjanv wrote:
    > Hello,
    > I am using SUSE Linux 11.1 on a VMware Workstation 6.5.2, and I am
    > encountering the following problem: After downloading and starting up
    > the Eclipse environment for C++, I received an error message indicating
    > a problem with memory allocation. Later I simply called "java" from the
    > command line, and received the following error messages:
    >
    > java
    > Error occurred during initialization of VM
    > Could not reserve enough space for object heap
    > Could not create the Java virtual machine.
    >
    > Does anyone have an explanation?
    > Regards,
    > bostjanv
    >
    >

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v2.0.9 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

    iQIcBAEBAgAGBQJKP426AAoJEF+XTK08PnB5tmEP/2DcknlKsoG24auyHpC24mOd
    OZvZw5Q9CaJ1vdfUjZfo/76VNmE0Txl+Qt4xvk10ktkSSbkirGgzOlrAaziHFcJO
    783cN22XwF97HT3fBuBZbEdr2N17IdKX1xpWIgaXPXiwY+u/7NvqQqVp1ek8juwG
    MfqBgrVU63E3RB63Q327JwlRdSh0TonHC9c2FPWWv2jo46j44JCMrz/XWw4QwEhM
    ezOetRWpVtRTfg2dNoLj6QFIe3Jry3gp2SP1tTAb00nqyow0QQGtf/sxPv6MV31E
    GKExE7FYo++Lgm7PZBw+NgAbF/t+eGe9aS/tutxAxq9XlmJlVTqg5XPk1Lvs90vT
    VABjvAFIuxMMRiFry44SahdPtzqiI/SoxmP2yk2iZ0pDSsEp4gVw3Z0cRje7Zk/m
    RqsfPHNMsVv2YT+g6iZOxIqwObJBmPnmb5RTxmR5ZPsaXvD3bz+7cHTxJlixUjRy
    15uySITSYxukY5x+TQFhqDHsKcEnR8AuzXTDI7In0P9BpymF2hbLyG+pdi554e98
    ZHtyLRgZg7BGYJWYqJScWUGyVnPNDy50cMQKMhYGfocN+fknJoisguU5p7pskmxC
    Im2FIa4rLQf/9Xro2JcURVHSoYSOVOQ0X8J2Jh4OlsTEoUyVtjHNLhZ+pFSUnNMv
    XKgVBy440cI0R6vTpJEB
    =hXNL
    -----END PGP SIGNATURE-----

  3. #3

    Default Re: Problems with Eclipse and Java

    Quote Originally Posted by ab@novell.com View Post
    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Looks like you are out of memory. Are you? Is this error on the host or
    in the VM? Are you running VMs at the time? Post the output from the
    following, please:

    free
    df -h
    ps aux

    Good luck.





    bostjanv wrote:
    > Hello,
    > I am using SUSE Linux 11.1 on a VMware Workstation 6.5.2, and I am
    > encountering the following problem: After downloading and starting up
    > the Eclipse environment for C++, I received an error message indicating
    > a problem with memory allocation. Later I simply called "java" from the
    > command line, and received the following error messages:
    >
    > java
    > Error occurred during initialization of VM
    > Could not reserve enough space for object heap
    > Could not create the Java virtual machine.
    >
    > Does anyone have an explanation?
    > Regards,
    > bostjanv
    >
    >

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v2.0.9 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - Enigmail: A simple interface for OpenPGP email security

    iQIcBAEBAgAGBQJKP426AAoJEF+XTK08PnB5tmEP/2DcknlKsoG24auyHpC24mOd
    OZvZw5Q9CaJ1vdfUjZfo/76VNmE0Txl+Qt4xvk10ktkSSbkirGgzOlrAaziHFcJO
    783cN22XwF97HT3fBuBZbEdr2N17IdKX1xpWIgaXPXiwY+u/7NvqQqVp1ek8juwG
    MfqBgrVU63E3RB63Q327JwlRdSh0TonHC9c2FPWWv2jo46j44JCMrz/XWw4QwEhM
    ezOetRWpVtRTfg2dNoLj6QFIe3Jry3gp2SP1tTAb00nqyow0QQGtf/sxPv6MV31E
    GKExE7FYo++Lgm7PZBw+NgAbF/t+eGe9aS/tutxAxq9XlmJlVTqg5XPk1Lvs90vT
    VABjvAFIuxMMRiFry44SahdPtzqiI/SoxmP2yk2iZ0pDSsEp4gVw3Z0cRje7Zk/m
    RqsfPHNMsVv2YT+g6iZOxIqwObJBmPnmb5RTxmR5ZPsaXvD3bz+7cHTxJlixUjRy
    15uySITSYxukY5x+TQFhqDHsKcEnR8AuzXTDI7In0P9BpymF2hbLyG+pdi554e98
    ZHtyLRgZg7BGYJWYqJScWUGyVnPNDy50cMQKMhYGfocN+fknJoisguU5p7pskmxC
    Im2FIa4rLQf/9Xro2JcURVHSoYSOVOQ0X8J2Jh4OlsTEoUyVtjHNLhZ+pFSUnNMv
    XKgVBy440cI0R6vTpJEB
    =hXNL
    -----END PGP SIGNATURE-----
    Hello,
    Thanks for your suggestion. I tried using Eclipse and Java on a PC with Linux installed, and I found that they use more memory than "free" reports on my VM. I didn't realize that Eclipse and Java are such memory hogs. I'll have to figure out whether I can increase free memory on my VM.
    Regards,
    bostjanv

Posting Permissions

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