[
https://issues.jboss.org/browse/WFLY-3432?page=com.atlassian.jira.plugin....
]
Thiago Hernandes resolved WFLY-3432.
------------------------------------
Fix Version/s: 8.1.0.Final
Resolution: Done
Wildfly 8.0 and 8.1
---------------------------------------------------------------------------------------
java.lang.OutOfMemoryError: Java heap space
---------------------------------------------------------------------------------------
Solution to Perm Gen Memory, overflow of memory etc...
In file: standalone.conf (/wildfly8.1/bin) at the block:
if [ "x$JAVA_OPTS" = "x" ]; then
JAVA_OPTS="-Xms64m -Xmx512m -XX:MaxPermSize=256m
-Djava.net.preferIPv4Stack=true"
JAVA_OPTS="$JAVA_OPTS -Djboss.modules.system.pkgs=$JBOSS_MODULES_SYSTEM_PKGS
-Djava.awt.headless=true"
else
Replace with (to machines with 4GB RAM):
if [ "x$JAVA_OPTS" = "x" ]; then
JAVA_OPTS="-Xms512m -Xmx2048m -XX:MaxPermSize=2048m
-Djava.net.preferIPv4Stack=true"
JAVA_OPTS="$JAVA_OPTS -Djboss.modules.system.pkgs=$JBOSS_MODULES_SYSTEM_PKGS
-Djava.awt.headless=true"
else
Important notice that 156 initial value, 1024 max value and another 1024 the Perm max
size.
It´s possible to increase this values when server configurartion´s is more powerful
Perm Gen Memory, overflow of memory, Java heap space
----------------------------------------------------
Key: WFLY-3432
URL:
https://issues.jboss.org/browse/WFLY-3432
Project: WildFly
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Reporter: Thiago Hernandes
Assignee: Jason Greene
Labels: heap, java, space
Fix For: 8.1.0.Final
I´ve a recent problem with Heap Memory.
This: java.lang.OutOfMemoryError: Java heap space when proccessed a report
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)