Matt RaibleMatt Raible is a Web Developer and Java Champion. Connect with him on LinkedIn.

The Angular Mini-Book The Angular Mini-Book is a guide to getting started with Angular. You'll learn how to develop a bare-bones application, test it, and deploy it. Then you'll move on to adding Bootstrap, Angular Material, continuous integration, and authentication.

Spring Boot is a popular framework for building REST APIs. You'll learn how to integrate Angular with Spring Boot and use security best practices like HTTPS and a content security policy.

For book updates, follow @angular_book on Twitter.

The JHipster Mini-Book The JHipster Mini-Book is a guide to getting started with hip technologies today: Angular, Bootstrap, and Spring Boot. All of these frameworks are wrapped up in an easy-to-use project called JHipster.

This book shows you how to build an app with JHipster, and guides you through the plethora of tools, techniques and options you can use. Furthermore, it explains the UI and API building blocks so you understand the underpinnings of your great application.

For book updates, follow @jhipster-book on Twitter.

10+ YEARS


Over 10 years ago, I wrote my first blog post. Since then, I've authored books, had kids, traveled the world, found Trish and blogged about it all.

Tomcat 4.1.24: No More OutOfMemory Errors

I know I'm probably jinxing myself, but I'm going to say it anyway. I just checked my catalina.out file (a.k.a. Tomcat's log file) and I haven't had an OutOfMemory error since I upgraded to Tomcat 4.1.24. I was getting them all the time with Tomcat 4.1.18. Hopefully you've seen the same stability increase. I'm sure this site will crash with an OutOfMemory error as soon as I finish this post! ;0)

Update: I send a message to Keith to verify that Tomcat hasn't crashed since Saturday night. Here is his response.

The cron job hasn't had to restart it, and there are no out 
of memory errors in the log.  I can't find any sign that it
failed since then.

Keith

Sweeeeeettt!!

Posted in Java at Mar 26 2003, 07:41:57 AM MST 6 Comments
Comments:

Is this on Win2K? How do you specify the JVM mem settings and have them actually work when firing up Tomcat. I put them in my catalina.bat file as the CATALINA_OPTS variable, but they don't seem to work. Linux it works fine for me.

Posted by dsuspense on March 26, 2003 at 09:20 AM MST #

Nope, it's on a Linux box where this site is hosted. I haven't had to change any memory settings when running on Windows.

Posted by Matt on March 26, 2003 at 10:20 AM MST #

Wait... I use tomcat-4.1.24-LE-jdk1.4 and jdk1.4.2 , but Tomcat will throw a java.lang.OutOfMemoryException. WhetherI edit my catalina.bat or not, it still doesn't work. I set CATALINA_OPTS=-server -Xms256m -Xmx512m -Xincgc but failed. I run in win2K OS. The same configuration in Tomcat4.1.18 will work. Please help me , thanks very much!

Posted by Edward on July 28, 2003 at 05:00 AM MDT #

When I was having OutOfMemory errors, it was because I was running on a hosted Linux box, and some other users were using up all the memory. If 4.1.18 works fine, I don't know what to tell you.

Posted by Matt Raible on July 28, 2003 at 06:08 AM MDT #

i had one doubt " how can i solve the out of memory problem in tomcat4.0".pls send reply for me.....

Posted by baskar on July 29, 2005 at 01:45 AM MDT #

ghgg

Posted by 201.7.97.22 on October 14, 2005 at 01:22 PM MDT #

Post a Comment:
  • HTML Syntax: Allowed