File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
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
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3697
    
    5

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 ]

My Blog: Down Home Country Coding with Scott Selikoff
Scott Selikoff
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3697
    
    5

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
 
Similar Threads
Steep learning curve.
Configuring Eclipse with WebSphere 5.1
any ADF Faces plugin for eclipse?
Eclipse vs WSAD5.1/RAD
Eclipse and OutOfMemoryError