[xwiki-users] OutOfMemoryError
Hello again, this time I am having a hard time with java. I do get the following error a lot: - Exception while dispatching incoming RPC call #012java.lang.OutOfMemoryError: PermGen space And there isn't anybody on the wiki yet. It's just me changing texts. No uploads or something similar. Here are my arguments which Tomcat 5.5 pass to the virtual machine JAVA_OPTS="-Djava.awt.headless=true -Xms1024M -Xmx3424M" In my opinion this should be more then enough memory or am I mistaken? Do I miss something else? I am really lost here.... Cheers, Stephanie
On 04/20/2011 12:41 AM, [email protected] wrote:
Hello again,
this time I am having a hard time with java. I do get the following error a lot:
- Exception while dispatching incoming RPC call #012java.lang.OutOfMemoryError: PermGen space
And there isn't anybody on the wiki yet. It's just me changing texts. No uploads or something similar.
Here are my arguments which Tomcat 5.5 pass to the virtual machine JAVA_OPTS="-Djava.awt.headless=true -Xms1024M -Xmx3424M"
In my opinion this should be more then enough memory or am I mistaken? Do I miss something else? I am really lost here....
The OOM you get is not on heap space, but on PermGen, which is used for storing java classes. You configure that with: -XX:MaxPermSize=128m -- Sergiu Dumitriu http://purl.org/net/sergiu/
Hello, are there any other Java settings I could adjust in order to make my xwiki instance more stable? We are currently 50 to 60 users and have a total of 5.000 to 8.000 pages and a lot of attachments (mostly PDF -- approx. 4MB each) Thanks for your help, Stephanie Zitat von Sergiu Dumitriu <[email protected]>:
On 04/20/2011 12:41 AM, [email protected] wrote:
Hello again,
this time I am having a hard time with java. I do get the following error a lot:
- Exception while dispatching incoming RPC call #012java.lang.OutOfMemoryError: PermGen space
And there isn't anybody on the wiki yet. It's just me changing texts. No uploads or something similar.
Here are my arguments which Tomcat 5.5 pass to the virtual machine JAVA_OPTS="-Djava.awt.headless=true -Xms1024M -Xmx3424M"
In my opinion this should be more then enough memory or am I mistaken? Do I miss something else? I am really lost here....
The OOM you get is not on heap space, but on PermGen, which is used for storing java classes. You configure that with:
-XX:MaxPermSize=128m
-- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
On 04/20/2011 11:53 PM, [email protected] wrote:
Hello,
are there any other Java settings I could adjust in order to make my xwiki instance more stable?
If you encounter specific problems, please report them. Generally, we noticed that the performance gets better when: - increasing the size of the caches according to the available memory - setup two or more virtual machines in a clustering configuration
We are currently 50 to 60 users and have a total of 5.000 to 8.000 pages and a lot of attachments (mostly PDF -- approx. 4MB each)
Thanks for your help, Stephanie
Zitat von Sergiu Dumitriu <[email protected]>:
On 04/20/2011 12:41 AM, [email protected] wrote:
Hello again,
this time I am having a hard time with java. I do get the following error a lot:
- Exception while dispatching incoming RPC call #012java.lang.OutOfMemoryError: PermGen space
And there isn't anybody on the wiki yet. It's just me changing texts. No uploads or something similar.
Here are my arguments which Tomcat 5.5 pass to the virtual machine JAVA_OPTS="-Djava.awt.headless=true -Xms1024M -Xmx3424M"
In my opinion this should be more then enough memory or am I mistaken? Do I miss something else? I am really lost here....
The OOM you get is not on heap space, but on PermGen, which is used for storing java classes. You configure that with:
-XX:MaxPermSize=128m
-- Sergiu Dumitriu http://purl.org/net/sergiu/
participants (2)
-
lists@yhmail.de -
Sergiu Dumitriu