When I try to setup our app to run under SpringSource - everything works well until the server dies due to a lack of PermGen space. How can I set this?

I have tried to pass the options in to the tcruntime--ctl.sh script as well as to edit the script directly to invoke the jvm with the correct params. I also went into the tomcat-6 directory/bin directory and edited the setenv.sh script as well but I keep getting the PermGen out of space errors.

I've seen a few other questions about this topic without a clear answer. What is the preferred way to pass JVM parameters to the tomcat server when running the developer edition of the tcserver?