aspose file tools
The moose likes Websphere and the fly likes WebSphere CE + Eclipse = Out of Memory Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "WebSphere CE + Eclipse = Out of Memory" Watch "WebSphere CE + Eclipse = Out of Memory" New topic
Author

WebSphere CE + Eclipse = Out of Memory

Scott Selikoff
author
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3738
    
  10

I have WebSphere CE installed, can configured memory in the setenv.bat file, and start it up on its own fine.

When I try to start in eclipse (after installing the WASCE plugin), it seems to ignore the memory options and start with 64MB leading to out of memory errors quickly.

What files/configuration does the plugin use to start WebSphere CE and how do I modify them?
[ February 07, 2008: Message edited by: Scott Selikoff ]

[OCA 8 Book] [Blog]
Scott Selikoff
author
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3738
    
  10

Nevermind, I figured it out. You have to use a more eclipse-like interface... Open the run dialog and modify the VM arguments such as adding: -Xms1024m -Xmx1024m

I suppose I should have figured it out sooner, but I never thought Servers would appear in the Run dialogue. Seems like they should be separate entities given their large config options such as what the bat files do.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: WebSphere CE + Eclipse = Out of Memory