News for hackers. Stuff that matters.
Re:Why I Don't Use The JVM by saryant on Sunday November 13, 2011 @10:40PM (#3232738)
If you’re launching your hello world project in the CLI, you’d just add -Xmx=64m or whatever size you need. 64 tends to be the default and I haven’t personally tried pushing it lower (for my work I actually have to push it up into the 3-6G range. Ah, language processing).
Re:Why I Don't Use The JVM by jshen on Sunday November 13, 2011 @10:46PM (#3232750)
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.
Re:Why I Don't Use The JVM by headius on Monday November 14, 2011 @12:41AM (#3233018)
Use 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.
Re:Why I Don't Use The JVM by jshen on Monday November 14, 2011 @01:02AM (#3233079)
Which are good for low memory?
Re:Why I Don't Use The JVM by saryant on Sunday November 13, 2011 @10:56PM (#3232778)
I 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.
Re:Why I Don't Use The JVM by democracy on Monday November 14, 2011 @12:33AM (#3232994)
servlet + web server + (guessing) crazy number of libraries - is it still a 'hello world' app?