This week's giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Production-Ready Serverless (Operational Best Practices) and have Yan Cui on-line!
See this thread for details.
Win a copy of Production-Ready Serverless (Operational Best Practices) this week in the Cloud/Virtualization forum!
  • 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
  • paul wheaton
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Ron McLeod
  • Tim Moores
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Vijitha Kumara

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: 20562
120
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.
 
On top of spaghetti all covered in cheese, there was this tiny ad:
global solutions you can do at home or in your backyard
https://www.kickstarter.com/projects/paulwheaton/better-world-boo
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!