javaheap-memoryclassloaderpermgen

In which memory is saving Java ClassLoader instance


I want to know where the ClassLoader instance is saving, in which memory. Is it saving in heap or in permgen? And if I have a custom ClassLoader( for example JasperReports loads his own ClassLoader which calls JRClassLoader ), instance of it is also saving in heap memory or in permgen?


Solution

  • Classloader is not an exception from the rules, so: