Home » Archived » BIRT » out of memory on Server - Large number of datasets
out of memory on Server - Large number of datasets [message #95101] |
Tue, 29 November 2005 07:31  |
Eclipse User |
|
|
|
We have an issue using birt to generate reports on a web environment.
We regularly get 'out of memory' errors (seems like BIRT uses up to
256 Mb if it is used intensievely). This problem occurs when
generating PDF files, but I tried HTML and it doesn't seem to be
better.
We use POJOs to pass the info to the report, the Datasource being a
Scripted Data Source.
The report (rptdesign) contains 55 datasets.
Does anyone have a clue for investigating this kind of problem?
Is there a limit to the number of datasets in BIRT 1.0.1...?
I thought this was linked to FOP, but I am nos so sure. Is there any
way to generate a PDF using another tool than FOP...?
Is it easy to switch to BIRT 2, and would this solve anything?
Help would be greately appreciated...
Thanks.
|
|
| |
Re: out of memory on Server - Large number of datasets [message #95588 is a reply to message #95310] |
Wed, 30 November 2005 04:39   |
Eclipse User |
|
|
|
Originally posted by: jake.westviewclose.co.uk
Frederic / Kelvin,
I have just had a quick look at this, and certainly my issue seems to be
PDF generation......(suggesting that it is a problem with the "emitter".
I ran a 100 page report under preview and it generated without any
issues in HTML, but into PDF it failed to generate. (I'm assuming that
it was the generic java heap overflow as it occurred after 70 seconds of
running (as it does when i run it as a standalone report.)
Kelvin or anyone else,
Please can you advise when this solution in BIRT 2.0 is likely to be
released?
Thanks kindly.
Jake
Kelvin Chu wrote:
> Hi Frederic,
>
> There are two potential causes. First, scripting datasource has memory
> leak. Please refer to Bugzilla Bug 113198.
>
> Second, in BIRT 1.0, the pdf emitter demands a lot of memory. There is a
> BPS project in BIRT 2.0 to fix this problem.
>
> Kelvin
>
> Frederic Ferrant wrote:
>
>> We have an issue using birt to generate reports on a web environment.
>> We regularly get 'out of memory' errors (seems like BIRT uses up to
>> 256 Mb if it is used intensievely). This problem occurs when
>> generating PDF files, but I tried HTML and it doesn't seem to be
>> better.
>>
>> We use POJOs to pass the info to the report, the Datasource being a
>> Scripted Data Source.
>>
>> The report (rptdesign) contains 55 datasets.
>>
>> Does anyone have a clue for investigating this kind of problem? Is
>> there a limit to the number of datasets in BIRT 1.0.1...?
>> I thought this was linked to FOP, but I am nos so sure. Is there any
>> way to generate a PDF using another tool than FOP...?
>> Is it easy to switch to BIRT 2, and would this solve anything?
>>
>> Help would be greately appreciated...
>>
>> Thanks.
|
|
|
Re: out of memory on Server - Large number of datasets [message #95675 is a reply to message #95310] |
Wed, 30 November 2005 08:40   |
Eclipse User |
|
|
|
Thank you for your answer, I had a look at the bug description in
Bugzilla. Unfortunately, we can't switch to a jdbc datasource (would
be much simpler indeed).
Do you think this scripted data source problem might be solved for
version 2.0? If so, we would be very pleased to test any beta version.
For the BPS 21 project, I had a look as well, but I can't find any
notification about a new PDF Emitter version... How can I know when
this becomes available?
Any idea of the release date for version 2.0? I read about 30/12... Do
you know if this date is still valid?
On Tue, 29 Nov 2005 10:39:32 -0800, Kelvin Chu <kchu@actuate.com>
wrote:
>Hi Frederic,
>
>There are two potential causes. First, scripting datasource has memory
>leak. Please refer to Bugzilla Bug 113198.
>
>Second, in BIRT 1.0, the pdf emitter demands a lot of memory. There is a
> BPS project in BIRT 2.0 to fix this problem.
>
>Kelvin
|
|
|
Re: out of memory on Server - Large number of datasets [message #95854 is a reply to message #95675] |
Wed, 30 November 2005 21:34   |
Eclipse User |
|
|
|
Hi Frederic,
Reply of first question: I guess it would be fixed in BIRT 2.0 release
Reply of second one: It's in BPS 6 and it should be ready in BIRT 2.0
release. It is not yet in M3.
Reply of last one: I have no idea.
Regards,
Kelvin
Frederic Ferrant wrote:
> Thank you for your answer, I had a look at the bug description in
> Bugzilla. Unfortunately, we can't switch to a jdbc datasource (would
> be much simpler indeed).
>
> Do you think this scripted data source problem might be solved for
> version 2.0? If so, we would be very pleased to test any beta version.
>
> For the BPS 21 project, I had a look as well, but I can't find any
> notification about a new PDF Emitter version... How can I know when
> this becomes available?
>
> Any idea of the release date for version 2.0? I read about 30/12... Do
> you know if this date is still valid?
>
>
>
> On Tue, 29 Nov 2005 10:39:32 -0800, Kelvin Chu <kchu@actuate.com>
> wrote:
>
>
>>Hi Frederic,
>>
>>There are two potential causes. First, scripting datasource has memory
>>leak. Please refer to Bugzilla Bug 113198.
>>
>>Second, in BIRT 1.0, the pdf emitter demands a lot of memory. There is a
>> BPS project in BIRT 2.0 to fix this problem.
>>
>>Kelvin
|
|
|
Re: out of memory on Server - Large number of datasets [message #95867 is a reply to message #95588] |
Wed, 30 November 2005 21:38   |
Eclipse User |
|
|
|
Hello Jake,
In order to confirm it is java heap overflow, please check that you see
"out of memory" exception in the report preview pane. Otherwise, it may
be something else. Then, please submit a bug into Buzilla.
Kelvin
Jake Day wrote:
> Frederic / Kelvin,
>
> I have just had a quick look at this, and certainly my issue seems to be
> PDF generation......(suggesting that it is a problem with the "emitter".
>
> I ran a 100 page report under preview and it generated without any
> issues in HTML, but into PDF it failed to generate. (I'm assuming that
> it was the generic java heap overflow as it occurred after 70 seconds of
> running (as it does when i run it as a standalone report.)
>
>
> Kelvin or anyone else,
>
> Please can you advise when this solution in BIRT 2.0 is likely to be
> released?
>
> Thanks kindly.
>
> Jake
>
> Kelvin Chu wrote:
>
>> Hi Frederic,
>>
>> There are two potential causes. First, scripting datasource has memory
>> leak. Please refer to Bugzilla Bug 113198.
>>
>> Second, in BIRT 1.0, the pdf emitter demands a lot of memory. There is
>> a BPS project in BIRT 2.0 to fix this problem.
>>
>> Kelvin
>>
>> Frederic Ferrant wrote:
>>
>>> We have an issue using birt to generate reports on a web environment.
>>> We regularly get 'out of memory' errors (seems like BIRT uses up to
>>> 256 Mb if it is used intensievely). This problem occurs when
>>> generating PDF files, but I tried HTML and it doesn't seem to be
>>> better.
>>>
>>> We use POJOs to pass the info to the report, the Datasource being a
>>> Scripted Data Source.
>>>
>>> The report (rptdesign) contains 55 datasets.
>>>
>>> Does anyone have a clue for investigating this kind of problem? Is
>>> there a limit to the number of datasets in BIRT 1.0.1...?
>>> I thought this was linked to FOP, but I am nos so sure. Is there any
>>> way to generate a PDF using another tool than FOP...?
>>> Is it easy to switch to BIRT 2, and would this solve anything?
>>>
>>> Help would be greately appreciated...
>>>
>>> Thanks.
|
|
|
Re: out of memory on Server - Large number of datasets [message #95911 is a reply to message #95867] |
Thu, 01 December 2005 03:49  |
Eclipse User |
|
|
|
Originally posted by: jake.westviewclose.co.uk
Kelvin,
Thanks for the response.
FYI i have two seperate methods for running the report. I've got a
little exe file that "pops" up a command console that runs the program
automatically. Unfortunately the console closes on failure...so I can
never see what the failing message was! - However, when I run the
program from within Eclipse the output stays on screen.... Both fail
after 70 seconds and the Eclipse "version" does indeed state that its a
java heap space failure.
Therefore I conclude that it has to be a FOP issue, and already known -
so no point in reporting on Bugzilla.
Thank you for your responses though...its nice to know that someone
cares :) - and gives me the strength to battle on ;)
Jake
Kelvin Chu wrote:
> Hello Jake,
>
> In order to confirm it is java heap overflow, please check that you see
> "out of memory" exception in the report preview pane. Otherwise, it may
> be something else. Then, please submit a bug into Buzilla.
>
> Kelvin
>
> Jake Day wrote:
>
>> Frederic / Kelvin,
>>
>> I have just had a quick look at this, and certainly my issue seems to
>> be PDF generation......(suggesting that it is a problem with the
>> "emitter".
>>
>> I ran a 100 page report under preview and it generated without any
>> issues in HTML, but into PDF it failed to generate. (I'm assuming that
>> it was the generic java heap overflow as it occurred after 70 seconds
>> of running (as it does when i run it as a standalone report.)
>>
>>
>> Kelvin or anyone else,
>>
>> Please can you advise when this solution in BIRT 2.0 is likely to be
>> released?
>>
>> Thanks kindly.
>>
>> Jake
>>
>> Kelvin Chu wrote:
>>
>>> Hi Frederic,
>>>
>>> There are two potential causes. First, scripting datasource has
>>> memory leak. Please refer to Bugzilla Bug 113198.
>>>
>>> Second, in BIRT 1.0, the pdf emitter demands a lot of memory. There
>>> is a BPS project in BIRT 2.0 to fix this problem.
>>>
>>> Kelvin
>>>
>>> Frederic Ferrant wrote:
>>>
>>>> We have an issue using birt to generate reports on a web environment.
>>>> We regularly get 'out of memory' errors (seems like BIRT uses up to
>>>> 256 Mb if it is used intensievely). This problem occurs when
>>>> generating PDF files, but I tried HTML and it doesn't seem to be
>>>> better.
>>>>
>>>> We use POJOs to pass the info to the report, the Datasource being a
>>>> Scripted Data Source.
>>>>
>>>> The report (rptdesign) contains 55 datasets.
>>>>
>>>> Does anyone have a clue for investigating this kind of problem? Is
>>>> there a limit to the number of datasets in BIRT 1.0.1...?
>>>> I thought this was linked to FOP, but I am nos so sure. Is there any
>>>> way to generate a PDF using another tool than FOP...?
>>>> Is it easy to switch to BIRT 2, and would this solve anything?
>>>>
>>>> Help would be greately appreciated...
>>>>
>>>> Thanks.
|
|
|
Goto Forum:
Current Time: Fri May 09 12:54:55 EDT 2025
Powered by FUDForum. Page generated in 0.04589 seconds
|