Modify startup script – allocate more memory

2001-03-28 Thread brian luk
Hi, -- My servlet got java.lang.OutOfMemoryError and my Solaris machine is still have free memory left ( no disk swap occur ). Any way to modify tomcat startup file to allocate more memory? -- Does VM only use only PART of the system memroy? like 32MB or 64MB out of 128MB system memory? would

Re: Modify startup script - allocate more memory

2001-03-28 Thread Simon Chatfield
You need to allocate the memory using the jvm argument -Xmxamount of megabitesM Tomcat reads an env variable named TOMCAT_OPTS, (ex. set TOMCAT_OPTS=-Xmx128M ) brian luk wrote: Hi, -- My servlet got java.lang.OutOfMemoryError and my Solaris machine is still have free memory left ( no disk