This week's book giveaway is in the Java in General forum.
We're giving away four copies of Helidon Revealed: A Practical Guide to Oracle’s Microservices Framework and have Michael Redlich on-line!
See this thread for details.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Memory error on RAD

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All ,

I am getting this error on RAD when I try to start the server :: ' An out of memory error has occurred. Consult the "Running Eclipse" section
of the read me file for information on preventing this kind of error in the
future. You are recommended to exit the workbench'. There is enough space on the disk but why is the VM showing low memory for work-bench .. Please help . Thanks.
 
Bartender
Posts: 2662
19
Netbeans IDE C++ Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have moved this post to our IDE forum.
.
 
Ranch Hand
Posts: 433
Netbeans IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is the readme saying?
 
Sheriff
Posts: 28344
97
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Raksha Mishra wrote:There is enough space on the disk but why is the VM showing low memory for work-bench ...



What does disk have to do with it? Focus on the actual problem: Eclipse doesn't have enough memory to run in.
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

when I try to start the server


What server? Is the server running in its own process or in the Eclipse process? The solution depends on the answers to these questions. (The basic solution is to increase the heap size, the "how to" depends on the answers.)

Actually, you could also be out of memory on your machine. That is, the server you are starting runs in a separate process and the amount of memory required by the server exceeds the available memory on your machine. In that case either decreasing the heap and/or permgen size for the server, or decreasing the heap and/or permgen size for Eclipse, or installing more RAM, or increasing the page file size would help.
 
Raksha Mishra
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The server is WASv6.1 . There is enough RAM : 1.94GB . I wonder what the problem is or perhaps how to rectify it . It's an office machine . Is it an installation issue ? Anyway, thanks for the help .
 
Raksha Mishra
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ,

The problem got resolved by increasing heap memory size by typing Xmx1024m in the config.ini file . Thanks once again .
 
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic