Skip to Content
0
Former Member
Jul 22, 2009 at 08:23 AM

JAVA UFL java-heap problem

29 Views

Hi,

Outline

I have developed a User Function Library (UFL) in Java to Internationalize the reports. I have followed the guide provided by BusinessObject: http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/20d050fc-6464-2b10-88aa-a31e24c4febf&overridelayout=true

System Specifications:

Windows XP

Intel Pentium 4 CPU 3.00GHz

Memory: 3 GB (RAM)

Crystal Reports: 2008 version 12.1.3.1028

Java: JDK 1.6.0.13

Problem

Run into a Java heap space when the report is refreshing.

Description.

I open the report and click the refresh button. The report starts to quickly fetch data but then starts to slow down, it comes to the point where it stops fetching data. After a few seconds, the Formula Editor pops-up, highlights the Internationalization formula and then another small window titled "Crystal Reports" pops up with the message "Java heap space".

Comments

I know that I am running into a memory problem. I have check my memory in the Wondows Task Manager under the tab Performance and I see that my memory never reaches the maximum amount I have. I have also tried changing the Java versions, have also tried the UFL with Crystal reports XI and also tried with different computers all with which I get the same problem.

Has anyone encountered the same problem, if so, how were you able to fix it?

Thank you very much for your help.

Valentine