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

JAVA UFL java-heap problem




I have developed a User Function Library (UFL) in Java to Internationalize the reports. I have followed the guide provided by BusinessObject:

System Specifications:

Windows XP

Intel Pentium 4 CPU 3.00GHz

Memory: 3 GB (RAM)

Crystal Reports: 2008 version

Java: JDK


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


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".


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.