maven - Build Best Practices to avoid Classloader leaks - OutOfMemoryError: PermGen space -


i reading post around here outofmemoryerror: permgen space. 1 here took special attention. dealing "java.lang.outofmemoryerror: permgen space" error

also, same post mentions other web references

as far understood classloader leak is, in cases, associated deployment have classes present inside app classloader beeing referenced outside app classloader. links in posts illustrates example, custom log level.

said that, doubt best practice builds , dependency management. use maven , bill of materials dependency analysis check if not generate package more need. far, good. know there precedence of class loader. in case use jboss / wildfly uses unifiedclassloader.

in case should take in consideration war file built maven , bom may have same behavior example of logger? still recommended use bom?


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -