3 ms·
Try it, I did. I can't get a servlet to use under 100MB after getting hit with a moderate amount of traffic. It runs out of heap.
by jshen 15y ago
Try it, I did. I can't get a servlet to use under 100MB after getting hit with a moderate amount of traffic. It runs out of heap.
- saryant 15y agoI figured as much. I have the luxury of having sole use of a 16 machine cluster with 16G RAM each so I haven’t had to worry about OutOfMemoryError in a while.
- democracy 15y agoservlet + web server + (guessing) crazy number of libraries - is it still a 'hello world' app?
- headius 15y agoUse a smaller servlet engine. Most of them assume you will be fine with a larger heap and prepare caching structures, etc with that in mind Others are smaller and lighter.
- jshen 15y agoWhich are good for low memory?