Return-Path: Delivered-To: apmail-cocoon-users-fr-archive@www.apache.org Received: (qmail 7944 invoked from network); 3 Feb 2005 09:15:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 3 Feb 2005 09:15:00 -0000 Received: (qmail 14691 invoked by uid 500); 3 Feb 2005 09:15:00 -0000 Mailing-List: contact users-fr-help@cocoon.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users-fr@cocoon.apache.org Delivered-To: mailing list users-fr@cocoon.apache.org Received: (qmail 14662 invoked by uid 99); 3 Feb 2005 09:15:00 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from 10.21.96-84.rev.gaoland.net (HELO mail.anyware-tech.com) (84.96.21.10) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 03 Feb 2005 01:14:58 -0800 Received: from localhost (localhost [127.0.0.1]) by mail.anyware-tech.com (Postfix) with ESMTP id 9B0F452DEB for ; Thu, 3 Feb 2005 10:17:23 +0100 (CET) Received: from mail.anyware-tech.com ([127.0.0.1]) by localhost (trinity [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 12170-09 for ; Thu, 3 Feb 2005 10:17:19 +0100 (CET) Received: from [10.0.0.27] (poukram.anyware [10.0.0.27]) by mail.anyware-tech.com (Postfix) with ESMTP id 30BD752DE6 for ; Thu, 3 Feb 2005 10:17:19 +0100 (CET) Message-ID: <4201EB8A.90003@apache.org> Date: Thu, 03 Feb 2005 10:14:50 +0100 From: Sylvain Wallez Organization: Anyware Technologies User-Agent: Mozilla Thunderbird 1.0 (Macintosh/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: users-fr@cocoon.apache.org Subject: Re: cocoon : message d'erreur java.lang.OutOfMemoryError References: <167A277838267A458D07D839FD2B679E01053022@cidj-mx.cidj-ad.it> In-Reply-To: <167A277838267A458D07D839FD2B679E01053022@cidj-mx.cidj-ad.it> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at anyware-tech.com X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Cath�rine GOURGUET wrote: >�a se produit apr�s x validations, que je fasse des modifications ou pas. >J'ai regard� avec le debugger, mais le plantage se fait au tout d�but, avant toute ligne du .js, je n'arrive donc pas � situer l'erreur. > > On doit avoir ici un probl�me li� au fait que ton formulaire est �norme et que les continuations restent en m�moire pendant un certain temps avant expiration. Pour faire le m�nage plus rapidement, on va utiliser le r�sultat de form.showForm() qui est une continuation (c'est comme cocoon.sendPageAndWait()) et invalider cette continuation, ce qui va lib�rer l'espace associ� sans attendre l'expiration. Remplacer : form.showForm("backoffice-display-pipeline-xsl"); par var cont = form.showForm("backoffice-display-pipeline-xsl"); et remplacer : cocoon.sendPage("backoffice.html?tabState="+tabState+"&choiceState="+choiceState); par cocoon.sendPage("backoffice.html?tabState="+tabState+"&choiceState="+choiceState); // expiration imm�diate de la continuation cont.invalidate(); // un peu de m�nage compl�mentaire form = null; doc = null; Sylvain -- Sylvain Wallez Anyware Technologies http://www.apache.org/~sylvain http://www.anyware-tech.com { XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects } --------------------------------------------------------------------- Liste francophone Apache Cocoon -- http://cocoon.apache.org/fr/ Pour vous desinscrire : mailto:users-fr-unsubscribe@cocoon.apache.org Autres commandes : mailto:users-fr-help@cocoon.apache.org