I've run load against my web application for the past few days, and I've noticed that "Current Classes Loaded" viewed via JMX monitoring is continually increasing. It will go up and then back down, but the average amount of classes loaded is increasing linearly with time. At the beginning of load, "Current Classes Loaded" was only a few thousand. Now, however, "Current Classes Loaded" has reached 130,000+.
Is this normal? I know that classes will fill up PermGen memory, but it's not definitive whether or not PermGen memory is leaking.
Used: 65,124 kbytes Committed: 65,536 kbytes Max: 65,536 kbytes
The used number moves between 62k and 65k, but I haven't noticed any catastrophic failure yet on the server. My question, then, is twofold.
First, is this normal? If it isn't, will this eventually cause Tomcat to crash?