Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Setting JVM memory through Java code for Standalone BIRT engine
Setting JVM memory through Java code for Standalone BIRT engine [message #1667864] Thu, 12 March 2015 08:12 Go to next message
Mohammed Ibrahim is currently offline Mohammed IbrahimFriend
Messages: 1
Registered: March 2015
Junior Member
Hi, We are trying to use stand alone BIRT engine (2.6.1) to generate our Excel format report. We are able to execute the report using eclipse Helios. But we try to execute the report through command prompt (this is because the reports are generated through batch job) we are getting out-of-memory error.

The reason behind we are using 2.6.1 version is, we already have web base application to generate the report which is 2.6.1 version and now we are planning to generate the report in excel format and store it in DB through java code (due to batch execution), we are using the 2.6.1 BIRT engine to maintain uniform.

We have tried to set the memory option as follows. But still failed. The main intention is how to set the memory using java code to run the report.

task.getAppContext().put(DataEngine.DATA_SET_CACHE_ROW_LIMIT, "0");
task.getAppContext().put(DataEngine.MEMORY_BUFFER_SIZE, "2");

Any help would be appreciated.

Error we are getting:

There is insufficient memory to execute this report.

We are executing a very simple report to get the excel output.
Re: Setting JVM memory through Java code for Standalone BIRT engine [message #1668694 is a reply to message #1667864] Thu, 12 March 2015 15:56 Go to previous message
Jesse Freeman is currently offline Jesse FreemanFriend
Messages: 184
Registered: January 2015
Senior Member
Could you provide more details on how you are generating the reports through the command line?
Are you using the or genReport.bat?
Previous Topic:Canceling rendering when resultset is empty
Next Topic:Table Cell click
Goto Forum:

Current Time: Tue Jul 23 01:49:12 GMT 2024

Powered by FUDForum. Page generated in 0.03509 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top