I am trying to run a little java application I have developed in WSAD 5.1.2. In the middle of creating an object, the app dies with an OutOfMemoryError.
I can run the app fine from the command prompt with java -Xms100m -Xmx100m.
I can't for the life of me figure out how to do something similar in WSAD. I've tried starting up WSAD with vmargs= -Xms250m -xmx250m, but it makes no difference at all. It dies at the same point. I can watch the memory usage grow on the javaw thread WSAD spawns, and it will consistently die at around 60MB.
Keep in mind the version of WebSphere that is installed with WSAD is a test environment, and is not meant to be run in production. So features like adding command line arguments are quite natural in a debug-styled environment.