Bug #1416

GWT: 0.6: Java heap space exception

Ajouté par Matthieu Decorde il y a environ 10 ans. Mis à jour il y a environ 5 ans.

Statut:New Début:09/07/2015
Priorité:High Echéance:
Assigné à:- % réalisé:

0%

Catégorie:Administration Temps passé: -
Version cible:Portal 0.7

Description

Occurs sometimes :
- at startup
- when using TIGERSearch
- when computing Index or Lexicon of Partition with a lot of parts
- at TBX initialization when relaunching the war after a previously Java Heap Space Exception
- more ?

Solution 0

Set more Java memory when launching Tomcat :

edit /etc/init.d/tomcat6

after:
# Escape any double quotes in the value of JAVA_OPTS

set:
    JAVA_OPTS="-Djava.awt.headless=true -Xms512m -Xmx4096m -XX:PermSize=256m -XX:MaxPermSize=1024m" 

(For information, the file /etc/init.d/tomcat6 is the one used when launching Tomcat from "service tomcat6 start")

Hypothesis 1

Some Java object are not garbaged when the TXM web app is reloaded.

[insert here the tomcat startup logs warning about the not garbaged objects

This is a known bug, one simple solution is :
- to not reload tomcat apps, but restart tomcat
- to isolate the webapps
This solution is used by the ENS tomcat VMs.

Solution 1

- catch the exception
- be able to diagnose what causes the heap exception
- fix the heap causes


Demandes liées

lié à Bug #1830: GWT: 0.6.1, TIGERSearch query results overload Closed 22/07/2016

Historique

#1 Mis à jour par Sebastien Jacquot il y a presque 10 ans

  • Description mis à jour (diff)

#2 Mis à jour par Sebastien Jacquot il y a presque 10 ans

  • Description mis à jour (diff)

#3 Mis à jour par Sebastien Jacquot il y a presque 10 ans

  • Description mis à jour (diff)

#4 Mis à jour par Alexey Lavrentev il y a presque 9 ans

  • Version cible changé de Portal X.X à Portal 0.7

#5 Mis à jour par Matthieu Decorde il y a presque 9 ans

  • Version cible changé de Portal 0.7 à Portal 0.6.2

#6 Mis à jour par Matthieu Decorde il y a presque 9 ans

  • Description mis à jour (diff)

#7 Mis à jour par Matthieu Decorde il y a environ 5 ans

  • Version cible changé de Portal 0.6.2 à Portal 0.7

Formats disponibles : Atom PDF