Thanks for sharing your approache.

That is a method I can consider. I hope there is a soluation other than dividing the 
page into two or three pages.

Vernon


7/24/2002 8:43:34 PM, Tim Kettering <[EMAIL PROTECTED]> wrote:

>
>I'm no expert on this stuff, but I had something similar to this (although
>nowhere on the scale of yours) - with lots of hex color values littered
>through the the website being controlled by tags that grabbed values off a
>XML file, and it was really dragging down the rendering process.
>
>So what I did was build a custom tag that "wrapped" the standard tag,
>jstl-fmt in your case, and then it would cache the values as they were
>initally retrieved in a static hashmap and only retrieve the via the normal
>tag if the value wasnąt found in the hashmap.
>
>Would that help things any???  You could have it build the hashmap during
>init().
>
>
>> 
>> I use the jstl-fmt port of jstl in my current project. I have three resource
>> files: default, en, and zh. About 440 entries in
>> each file. When I open a page with about 250 items in the resource file, the
>> memory consumption increases
>> dramatically. To save the memory usage, I delete one of the three resource
>> files. The initial memory usage is about 20m.
>> During the translation process, the memory consumption glows to over 160m and
>> exceeds the machine limit. And the
>> session dies and server crashes.
>> 
>> Any solution for this problem?
>> 
>> The web container I use is TC 4.0.4.
>> 
>> Thanks,
>> 
>> Vernon
>> 
>> 
>> 
>> 
>> --
>> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>> 
>
>-- 
>Tim Kettering
>[EMAIL PROTECTED]
>
>
>--
>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to