• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Apache Tomcat Virtual Machine Memory Setting

 
Ranch Hand
Posts: 421
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello:

I have an application that is utilized by maybe 2-3 people at one time (concurrently = max).

Do you have any suggestions on what the memory should be?

We did do a load test on this application, but it was inconclusive. How could I do a load test that would be more conclusive?

Thanks,
Michele
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
2 to 3 people is negligible. I wouldn't about any adjustments unless a performance issue raises its head, and then, I'd look into why rather than just throwing memory at it.
 
Saloon Keeper
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've had applications that had 2-3 users and required massive amounts of RAM. It's not the number of users that count, it's how the apps are written.

Tomcat doesn't have an internal virtual memory system that will go into page thrashing if you overcommit RAM. Instead the webapp will throw an OutOfMemoryException. That's your cue that you need more RAM, not a performance slowdown. Conversely, if you use the monitoring tools wisely, you may discover that your current Tomcat setup provides far more RAM than the apps need and you can thus reduce the Tomcat JVM's memory settings with relative safety.
 
What's that smell? I think this tiny ad may have stepped in something.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic