Hello,
We can not repeat the problem you reported, are you using the latest CMDBuild version ?
You wrote that you're using a clean database, but if it is an empty database which card you are trying to print ?
CMDBuild Team
We can not repeat the problem you reported, are you using the latest CMDBuild version ?
You wrote that you're using a clean database, but if it is an empty database which card you are trying to print ?
CMDBuild Team
Thanks for responding.I'm sorry I forgot to include system details. I'm running CMDBuild 2.2.1 on a CentOS 6.6 virtual guest. Since you're not experiencing problems on the latest version I will try to upgrade the system and hopefully that will fix the problem.The database began clean, I've created several classes and imported cards into them. We are having trouble printing against those cards.-DevinPreviously Tecnoteca wrote:We can not repeat the problem you reported, are you using the latest CMDBuild version ?
You wrote that you're using a clean database, but if it is an empty database which card you are trying to print ?
CMDBuild Team
Hi,
Call: services/json/management/modreport/printcarddetails ---------------------------------------------------------- Error: java.lang.OutOfMemoryError: PermGen space at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Unknown Source) at java.lang.Class.getDeclaredMethods(Unknown Source) at org.codehaus.groovy.reflection.stdclasses.CachedSAMClass$1.run(CachedSAMClass.java:90) at org.codehaus.groovy.reflection.stdclasses.CachedSAMClass$1.run(CachedSAMClass.java:88) at java.security.AccessController.doPrivileged(Native Method) at org.codehaus.groovy.reflection.stdclasses.CachedSAMClass.getDeclaredMethods(CachedSAMClass.java:88) at org.codehaus.groovy.reflection.stdclasses.CachedSAMClass.getAbstractMethods(CachedSAMClass.java:103) at org.codehaus.groovy.reflection.stdclasses.CachedSAMClass.getSAMMethod(CachedSAMClass.java:167) at org.codehaus.groovy.reflection.ClassInfo.isSAM(ClassInfo.java:282) at org.codehaus.groovy.reflection.ClassInfo.createCachedClass(ClassInfo.java:272) at org.codehaus.groovy.reflection.ClassInfo.access$400(ClassInfo.java:37) at org.codehaus.groovy.reflection.ClassInfo$LazyCachedClassRef.initValue(ClassInfo.java:443) at org.codehaus.groovy.reflection.ClassInfo$LazyCachedClassRef.initValue(ClassInfo.java:434) at org.codehaus.groovy.util.LazyReference.getLocked(LazyReference.java:46) at org.codehaus.groovy.util.LazyReference.get(LazyReference.java:33) at org.codehaus.groovy.reflection.ClassInfo.getCachedClass(ClassInfo.java:91) at org.codehaus.groovy.reflection.ReflectionCache.getCachedClass(ReflectionCache.java:107) at org.codehaus.groovy.reflection.CachedClass$4.initValue(CachedClass.java:131) at org.codehaus.groovy.reflection.CachedClass$4.initValue(CachedClass.java:128) at org.codehaus.groovy.util.LazyReference.getLocked(LazyReference.java:46) at org.codehaus.groovy.util.LazyReference.get(LazyReference.java:33) at org.codehaus.groovy.reflection.CachedClass.getCachedSuperClass(CachedClass.java:238) at org.codehaus.groovy.reflection.CachedClass$8.initValue(CachedClass.java:204) at org.codehaus.groovy.reflection.CachedClass$8.initValue(CachedClass.java:190) at org.codehaus.groovy.util.LazyReference.getLocked(LazyReference.java:46) at org.codehaus.groovy.util.LazyReference.get(LazyReference.java:33) at org.codehaus.groovy.reflection.CachedClass.getInterfaces(CachedClass.java:242) at org.codehaus.groovy.reflection.CachedClass.(CachedClass.java:228) at org.codehaus.groovy.reflection.ClassInfo.createCachedClass(ClassInfo.java:275) at org.codehaus.groovy.reflection.ClassInfo.access$400(ClassInfo.java:37) at org.codehaus.groovy.reflection.ClassInfo$LazyCachedClassRef.initValue(ClassInfo.java:443)
Tomcat 7 is already running with a huge amount of memory: 128 to 1024 Mb max. Postgres is version 9.3 Java 1.6.45Any help is higly appreciated
The error massage:
Error: java.lang.OutOfMemoryError: PermGen space
means that the memory allocated on Tomcat is not enough.
CMDBuild Team
Hi,
I already changed the values from 128(start)-256 Mb(max) to 512(start)-1024 Mb(max).
I would think for a simple print command that would be more then enough. It doens't help: tomcat goes completely crazy and the app crashes.
This turns out to fix it:
use tomcat7w.exe and add to the Java options:
-XX:MaxPermSize=4096malso set the initial and maximum meory size to 4096. A bit over the top, but it works
The suggested values for a normal installation are: -XX:MaxPermSize=256M -XX:PermSize=512M
Best regards