#6 OutOfMemory

cewolf-0.8
closed-fixed
Guido Laures
Rendering (22)
5
2002-10-18
2002-10-14
Markus
No

I'm doing perfomance tests with our application and
i'm getting a OutOfMemoryError after about 400 calls to
the page including the cewolf chart:

Im using:
Tomcat 4.0.4
cewolf-0.8.1
jfreechart-0.9.3
j2sdk1.4.1

Here is the jsp-code

<cewolf:chart id="AnalyseChart" type="verticalbar3d">
<cewolf:colorpaint color="#FFFFFF"/>
<cewolf:data><cewolf:producer
id="EFAUI"/></cewolf:data>
</cewolf:chart>
<cewolf:img chartid="AnalyseChart" renderer="/cewolf/"
width="400" height="338"/>

As DatasetProducer im using the PageViewCountData
class with no changes in a session scope, so i'm
producing different charts any time. If producing the
same chart or removing cewolf from the code, the error
doesnt occur any more. So i guess there is a memory
consuming routine in your new caching functionality.

If you need to know more, please write me at
flusser@web.de

Discussion

  • Logged In: YES
    user_id=613538

    This definitely a problem with the caching strategy in 0.8.
    Please review the discussion in the following:

    https://sourceforge.net/forum/forum.php?
    thread_id=744259&forum_id=192228

     
  • Guido Laures
    Guido Laures
    2002-10-18

    Logged In: YES
    user_id=574032

    This was a known issue of cewolf 0.8.1 as the image cache
    was never cleaned up in the release.
    This should be fixed in cewolf 0.8.2. Would be nice to here
    if it is so...

     
  • Guido Laures
    Guido Laures
    2002-10-18

    • labels: 440361 --> Rendering
    • assigned_to: nobody --> glaures
    • status: open --> closed-fixed