I'm running an application in JBuilder 6 Professional in which execution begins by doing a "Web Run" on a JSP page. The JSP page calls a servlet that is concatenating enormously long strings - in the order of 28.5 million characters long. While processing such a string, I get a "java.lang.OutOfMemoryError" with "no stack trace available".
I would assume the solution here is to increase the Java heap to the full RAM capacity of my computer by using the VM parameter "java -mx256m myprog" to set it.
My problem is, when I do a "Web Run", where can I place that VM parameter so that it will be passed to the VM? I don't see any appropriate place on the "Project | Project Properties | Run" tab. It seems like none of those would ever be executed: I'm not running an applet, or a main class, etc.
I would greatly appreciate any help.
Thank you very much!
Lazer
I would assume the solution here is to increase the Java heap to the full RAM capacity of my computer by using the VM parameter "java -mx256m myprog" to set it.
My problem is, when I do a "Web Run", where can I place that VM parameter so that it will be passed to the VM? I don't see any appropriate place on the "Project | Project Properties | Run" tab. It seems like none of those would ever be executed: I'm not running an applet, or a main class, etc.
I would greatly appreciate any help.
Thank you very much!
Lazer