So I've got a pretty standard spring, hibernate, tomcat environment.. yet I'm getting permgens locally and on CI.
I know there is a TEMPORARY fix (i.e. increasing the memory assigned to permgen) but this still is only temporary. I'd rather not imagine what a production environment looks like given what I'm seeing.
(a bit of a comparison question) In .NET I have not seen anything similar. Does .NET have its version of permgen?
(in case you do not know what permgen is Significance of PermGen Space )
No, the CLR (C# is "just" a CLR language) does not have a permanent generation, see Fundamentals of Garbage Collection.
Btw, future versions of the JVM - currently expected at the latest for Java 8 - won't have permgen either (see Oracle discusses Java 7 & 8 new features on video) (basically as a result of "merging" the "classic" Sun HotSpot VM that has permgen and JRockit JVM).