Jump to content
Changes to the Jaspersoft community edition download ×

Out Of Memory Error!


Recommended Posts

By: Anuradha - anura

Out Of Memory Error!

2003-09-01 04:58

Hi...

'am getting "java.lang.Out Of MemoryError"when i test my report output with more than 10,000 records in the database...Is there any specific reason for this?

plzz help me out..

Regards,

anu.

====

 

 

 

 

By: Gary Hill - gary_hill94

RE: Out Of Memory Error!

2003-09-03 06:11

I would guess your Java Virtual Machine is running out of memory. There is a limit on how much it will use. You can adjust the maximum amount of memory the JVM will use with the -X startup parameters. Here is an example.

 

Normal application start:

 

java -classpath classpath Application.class

 

Application start setting maximum memory to 75 meg.

 

java -classpath classpath -Xmx75m Application.class

 

Hope this helps.

 

Gary

 

 

 

 

By: Anuradha - anura

RE: Out Of Memory Error!

2003-09-03 23:35

Hi there...

Increasing the HEAP SPACE alone doesn't help me..I tried giving :

"java -classpath classpath -Xmx128m Application.class"

 

But this doesn't seem to solve the problem!

Anyother way out ?????? !!!!!!

Plzz help me in this regard...

 

Anu.

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