• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • Devaka Cooray
Saloon Keepers:
  • Ganesh Patekar
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
Bartenders:
  • Ron McLeod
  • Frits Walraven
  • Pete Letkeman

How to increase the heap size in tomcat6.0 ?  RSS feed

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In Tomcat 6.0 I need to increase the heap memory size to 100MB, Tomcat is not running as windows serive in my PC and I don't have admin rights to change the heap meory size in tomcat6w monitor window.
I tried giving set JAVA_OPTS=-Xmx1024m -Xmx1024m and set CATALINA_OPTS=-Xmx1024m -Xmx1024m in tomcat console and also tried creating a setenv.bat file (since I am working in Windows OS) explicitly in Apache Software Foundation\Tomcat 6.0\bin\ foder but it is also not working it seems.
 
Bartender
Posts: 19807
93
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since all 3 of your attempted solutions would be added to the java command line when you start using the standard Tomcat catalina.bat script, you need to investigate what is actually launching Tomcat.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!