|
Re: How to display how much resources BiRT is using to generate a report? [message #758101 is a reply to message #757788] |
Mon, 21 November 2011 21:28 |
|
Download this zip file:
http://www.birt-exchange.org/org/devshare/deploying-birt-reports/1344-eclipsecon-2011-api-examples/
extract the birt metal ppt and look at slide 21 which contains memory
configuration options for the data engine. You can set them in script like:
importPackage(Packages.org.eclipse.birt.data.engine.api);
importPackage(Packages.java.lang);
//lower memory used before disk writing from 10mb to 2mb per query
reportContext.getAppContext().put( DataEngine.MEMORY_BUFFER_SIZE, new
Integer(2) );
Jason
On 11/21/2011 12:08 PM, henry.golas wrote:
> Hello All,
>
> I'm hoping someone has seen this before.
>
> I am currently writing reports that use very large >10MB flatfiles as
> their source file.
> Depending on the amount of data used, specifically too much, and BiRT
> will either crash with a java heap error (my xmxx settings are already
> close to system capacity in eclipse.ini) or the reports will not finish,
> HTML just hangs at a certain point.
>
> I used to have an icon in BiRT that would display the amount of memory
> used by the report, but I am unable to find it.
>
> Is there any other way to find out what resources are consumed by BiRT
> from inside Eclipse? I am trying to use something more accurate than the
> OS tools.
>
> I have found a work around solution by throwing bigger,faster hardware
> at the reports, but that isn't a solution a can always use.
>
> Any suggestions would be great.
>
> Thanks,
>
> H
|
|
|
Re: How to display how much resources BiRT is using to generate a report? [message #758102 is a reply to message #758101] |
Mon, 21 November 2011 21:28 |
|
BTW put the script in the beforeFactory.
On 11/21/2011 4:28 PM, Jason Weathersby wrote:
> Download this zip file:
> http://www.birt-exchange.org/org/devshare/deploying-birt-reports/1344-eclipsecon-2011-api-examples/
>
> extract the birt metal ppt and look at slide 21 which contains memory
> configuration options for the data engine. You can set them in script like:
>
> importPackage(Packages.org.eclipse.birt.data.engine.api);
> importPackage(Packages.java.lang);
> //lower memory used before disk writing from 10mb to 2mb per query
> reportContext.getAppContext().put( DataEngine.MEMORY_BUFFER_SIZE, new
> Integer(2) );
>
> Jason
>
>
>
>
>
> On 11/21/2011 12:08 PM, henry.golas wrote:
>> Hello All,
>>
>> I'm hoping someone has seen this before.
>>
>> I am currently writing reports that use very large >10MB flatfiles as
>> their source file.
>> Depending on the amount of data used, specifically too much, and BiRT
>> will either crash with a java heap error (my xmxx settings are already
>> close to system capacity in eclipse.ini) or the reports will not finish,
>> HTML just hangs at a certain point.
>>
>> I used to have an icon in BiRT that would display the amount of memory
>> used by the report, but I am unable to find it.
>>
>> Is there any other way to find out what resources are consumed by BiRT
>> from inside Eclipse? I am trying to use something more accurate than the
>> OS tools.
>>
>> I have found a work around solution by throwing bigger,faster hardware
>> at the reports, but that isn't a solution a can always use.
>>
>> Any suggestions would be great.
>>
>> Thanks,
>>
>> H
>
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03399 seconds