Jump to content
We've recently updated our Privacy Statement, available here ×

java.lang.OutOfMemoryError running demo sampl


Recommended Posts

By: Ross Smith - rossta

java.lang.OutOfMemoryError running demo sampl

2006-01-12 14:28

Using jasperreports-1.1.1-project.zip and following the instructions in readme.txt, I typed:

 

cd jasperreports-1.1.1/demo/samples

ant testAll

 

it runs the tests for a while, and then crashes with:

 

BUILD FAILED

D:jasperreports-1.1.1demosamplesbuild.xml:439: The following error occurred

while executing this line:

java.lang.OutOfMemoryError

 

Do I need to be passing parameters to java, such as

-Xms256M -Xmx512M -XX:NewSize=200M -XX:MaxNewSize=200M

and if so, where?

 

Thanks,

 

Ross

 

 

 

 

By: Teodor Danciu - teodord

RE: java.lang.OutOfMemoryError running demo s

2006-01-13 04:51

 

Hi,

 

We are aware of this, but so far not able to find

the cause and to fix it.

The report compilation tasks seem to pile up

and consume memory when the JDT-base compiler is used.

Then, the other problem is that increasing the

memory available for Ant does not seem to help.

 

Anyway, I suggest to run the samples one by one,

when you need to see how a specific functionality

of JasperReports works.

 

Thank you,

Teodor

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...