Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Designing Analytics Reports
The problem out of memory in BIRT
Migrateduser
Hi<br />
<br />
In my application,report data is from web service.<br />
Then through java application analysis and transfer data list to report file.<br />
<br />
I put data list into "AppContextValue" as below:<br />
<br />
<strong class='bbc'><br />
request.getSession().setAttribute("AppContextKey", "map");<br />
Map<String,Object> map = (HashMap<String,Object>)request.getSession().getAttribute("AppContextValue");<br />
map.put("list", mylist);<br />
map.put("name", obj.getName());<br />
</strong><br />
<br />
To get it in report design file used as this:<br />
<br />
<strong class='bbc'><br />
dataList = reportContext.getAppContext().get("map").get("list").iterator();<br />
params["hotelName"]=reportContext.getAppContext().get("map").get("name");<br />
</strong><br />
<br />
And fetch this dataList in fetch script function.<br />
The dataList is a very huge.<br />
<br />
When i run this report,system just crashed and report a "Java heap space" OutOfMemoryError message.at that time system run very slowly. How can i do? :wacko: <br />
<br />
Please help me,thanks in advance.
Find more posts tagged with
Comments
There are no comments yet