top-image

Tag archives for parameters

Java: JVM parameters, Application Cache, Calculation of Memory Footprint
Hi, In a previous post http://www.javablog.fr/java-jvm-memory-parameters-outofmemoryerror-and-memory-checker.html, we spoke about solution in order to avoid the famous OutOfMemoryError: Java heap space or OutOfMemoryError: PermGen space errors and JVM parameters (-XX:PermSize, -XX:MaxPermSize, -Xms, -Xmx).   In this post, I would like to expose a simple method to calculate the memory footprint of JAVA objects in a cache in order to set the appropriate values of ...more»
Java: JVM Memory Parameters, OutOfMemoryError and Memory checker
Hello, I would update my previous article concerning a solution in order to avoid the famous OutOfMemoryError: Java heap space or OutOfMemoryError: PermGen space errors. This error java.lang.OutOfMemoryError in Java is a subclass of java.lang.VirtualMachineError which is thrown by the Java Virtual Machine when it ran out of memory in heap or it cannot allocate an object because it is out ...more»
Spring: access to properties or parameters in all places of the application
Hi, I propose you a simple solution based on Spring context, PropertyPlaceholderConfigurer to load and access to properties or parameters in all places of an application. First, we have a properties' file (for example) named "myparameters.properties" in the server's classpath (for example in the "etc" folder of TOMCAT server) containing: Secondly, create a class containing a attribute for each parameter of above ...more»
bottom-img
Copyright ® 2012 Huseyin Ozveren. No reproduction, even partial, can be used from this site and all its contents including text, documents, images, etc.. without the express permission of the author.