memory leak? [message #159131] |
Mon, 08 May 2006 13:18  |
Eclipse User |
|
|
|
Originally posted by: yhuynh.elementalsecurity.com
My Eclipse keeps running out of memory. Even though i've set it up to
have -xmx1024 and -ms1024. It happens when i use the designer a lot.
Anyone else have this same problem?
|
|
|
|
|
Re: memory leak? [message #162871 is a reply to message #159295] |
Fri, 19 May 2006 08:05   |
Eclipse User |
|
|
|
Same problem for me.
using BIRT2.1RC2 to generate PDF reports using POJOs as datasource
(lots of java-object related datasets).
The 'Out of memory' occurs after generation of 3 or 4 reports, using
the same rptdesign. The size of the rptdesign files we use is about
800K, so I first thought it had something to do with loading a new
rptdesign, but error also happens if using only one rptdesign.
In BIRT 1.0, there was a memory leak using Javascript objects, but
that class (org.eclipse.birt.data.engine.script.ScriptUtil) doesn't
seem to be used any more in BIRT 2.1.
I use the 'old' way to generate the report:
- create new engine,
- report = engine.openReportDesign()
- engine.createRunAndRenderTask(report).
I think one of these methods is 'deprecated', so I guess BIRT 2.1 uses
another logic. Maybe that's a track for research about this memory
leak...? How do you open the report? Do you do it the same way? Did
you hear about another 'not deprecated' method?
Thanks (I'll keep you informed if we find something),
Frédéric
>> My Eclipse keeps running out of memory. Even though i've set it up to
>> have -xmx1024 and -ms1024. It happens when i use the designer a lot.
>> Anyone else have this same problem?
>
>Me too. I am using scripted datasets connected to Java classes which are
>using Hibernate. OutOfMemory occurs after a couple of executions. Only
>HTML preview is used, no charts are involved.
>Eclipse 3.1.1, BIRT 2.0.1
>
>Any suggestion hot to avoid this, or how to precise the problem.
|
|
|
|
|
|
Re: memory leak? [message #169729 is a reply to message #169581] |
Tue, 13 June 2006 11:25  |
Eclipse User |
|
|
|
Yes, https://bugs.eclipse.org/bugs/show_bug.cgi?id=146653
Florian Georg wrote:
> +2
> we also keep getting OOM here... is there an bugzilla entry for this issue?
>
> George Handin wrote:
>> yem huynh wrote:
>>
>>> My Eclipse keeps running out of memory. Even though i've set it up
>>> to have -xmx1024 and -ms1024. It happens when i use the designer a
>>> lot. Anyone else have this same problem?
>>
>>
>> Yeah, and it only occurs in RC4 when running the Report Designer. I
>> try to use v2.0 whenever possible but there are so many additional
>> features in v2.1 that I must live with restarting Eclipse once an hour
>> to accommodate this problem.
>
|
|
|
Powered by
FUDForum. Page generated in 0.06388 seconds